KAHIBARO Bookshelves
Discord Login Register

18.3. Case studies from industry

Why Case Studies Matter

Seeing how real organizations use OpenShift helps connect concepts from earlier chapters to concrete decisions, trade-offs, and outcomes:

  • How teams structure projects and namespaces for real environments.
  • How they choose deployment models (on-prem, cloud, managed).
  • How they integrate CI/CD, security, and observability into daily work.
  • How they handle scale, multi-tenancy, and regulated environments.

This chapter walks through several typical industry scenarios, focusing on architecture choices, workflows, and lessons learned rather than technical basics.

Case Study 1: Financial Services – Regulated Banking Platform

Context and Goals

A large bank wants to modernize core customer-facing applications:

  • Replace legacy application servers with containers.
  • Run both cloud-native microservices and modernized monoliths.
  • Meet strict regulatory/compliance requirements (auditability, data locality).
  • Enable faster release cycles without sacrificing control.

They select OpenShift primarily because of:

  • Integrated security and compliance features.
  • Strong RBAC model and multi-tenancy.
  • Support for hybrid deployment (on-prem + cloud).
  • Enterprise support and certified ecosystem.

High-Level Architecture

  • Deployment model:
    • Primary OpenShift clusters in two on-prem data centers (active/active).
    • Additional managed OpenShift clusters in a public cloud for non-production.
  • Separation of concerns:
    • Dedicated clusters for:
      • prod – isolated, most strictly controlled.
      • nonprod (dev, test, perf) – more flexible, used for experimentation.
  • Networking and access:
    • Internal applications accessed via internal Routes behind corporate load balancers.
    • External-facing apps exposed through DMZ with strict firewall rules.
    • NetworkPolicies implemented to enforce zero-trust principles between namespaces.

Projects, Namespaces, and Multi-Tenancy

Security and isolation requirements drive a careful namespace design:

  • Project per application domain (e.g., retail-banking, corporate-banking).
  • Environment separation via namespaces:
    • retail-banking-dev, retail-banking-test, retail-banking-prod.
  • RBAC:
    • Developers get edit in -dev and -test namespaces, view only in -prod.
    • Operations and SRE teams get admin in production namespaces.
    • Service accounts restricted with minimal required privileges, combined with Security Context Constraints (SCCs) tailored for the bank.

This structure allows strict change control in production while giving developers autonomy in non-prod environments.

Application Deployment Pattern

The bank has a mix of:

  • New microservices (REST APIs, event-driven components).
  • Modernized monoliths running in containers.
  • Batch/ETL workloads for daily processing.

Typical patterns:

  • Deployment objects with:
    • Rolling updates for stateless services.
    • Strict resource requests/limits and QoS policies per service tier.
  • StatefulSet for databases and stateful middleware in some non-critical cases; mission-critical databases remain on dedicated DB platforms, accessed from OpenShift via internal Services.
  • Configurations externalized using ConfigMaps and Secrets (for connection strings, credentials, keys).

CI/CD and Governance

The bank implements a controlled yet automated pipeline:

  • Build:
    • CI (e.g., Jenkins or GitLab CI) triggers builds on code changes.
    • Container images built and scanned for vulnerabilities before being pushed to a private registry.
  • Deploy:
    • GitOps (e.g., Argo CD) used for production:
      • Desired state stored in Git repositories.
      • Changes go through pull requests and approval processes.
    • OpenShift Pipelines (Tekton) commonly used in non-prod for more flexible experimentation.

Key governance features:

  • ImagePolicies and image signing required for production.
  • Admission controllers ensure:
    • Only images from approved registries are allowed.
    • Mandatory labels and annotations (e.g., ownership, data classification).
    • Resource limits defined for all workloads.

Observability and Operations

  • Centralized logging integrated with the bank’s SIEM platform.
  • Metrics scraped from OpenShift and application components for capacity planning and SLO monitoring.
  • Alerts integrated with on-call tools and incident management workflows.

Outcomes and Lessons:

  • Benefits:
    • Reduced deployment time from weeks to hours.
    • Easier auditability due to GitOps and OpenShift’s event logging.
  • Challenges:
    • Cultural change: moving teams from manual deployments to pipelines.
    • Managing multiple clusters and aligning security policies across them.
  • Key practice:
    • Standardize “golden templates” for projects, RBAC, and network policies to keep large environments manageable.

Case Study 2: E‑Commerce – Highly Scalable Customer-Facing Platform

Context and Goals

A global e-commerce company needs to:

  • Handle large traffic spikes (sales events, holidays).
  • Experiment rapidly with features (A/B testing).
  • Deliver consistent performance with global user base.

They choose OpenShift for:

  • Kubernetes-based orchestration with opinionated defaults.
  • Integrated routing and load balancing.
  • Smooth integration with cloud load balancers and managed storage.
  • Built-in tools for canary and rolling deployments.

Cluster Layout and Scaling Strategy

  • Cloud-first deployment across multiple regions.
  • Multiple OpenShift clusters, each in a different region, fronted by global DNS and cloud load balancers.
  • Horizontal scalability emphasized:
    • Worker nodes autoscaled based on cluster metrics.
    • Horizontal Pod Autoscalers (HPAs) configured for core services.

For example:

  • Frontend services: scale based on CPU and custom HTTP latency metrics.
  • Recommendation and search services: scale based on queue depth or request rate.

Application Design on OpenShift

Key workloads:

  • Stateless microservices (cart, catalog, checkout, user profile).
  • Background processing (order fulfillment, inventory updates).
  • API gateway and BFF (Backend-for-Frontend) layers.

Implementation patterns:

  • Each service runs as a Deployment with:
    • Blue-green or canary deployment strategies managed via Deployments or specialized Operators.
    • Separate namespaces for core domains (e.g., checkout, catalog, search).
  • Caching layers (Redis, in-memory caches) either:
    • Deployed as Operators on OpenShift, or
    • Consumed as managed cloud services.

OpenShift Routes used heavily for:

  • Exposing microservices to the API gateway.
  • Performing path-based routing and TLS termination.
  • Integrating with web application firewalls (WAFs).

CI/CD and Feature Delivery

The e-commerce team emphasizes fast iterations:

  • Developers work in feature branches with short-lived namespaces:
    • user-feature-<id> projects created via automation.
    • Automated cleanup of unused namespaces.
  • Pipelines (Tekton or external CI/CD platforms):
    • Build images, run automated tests, run performance smoke tests.
    • Deploy to staging environments, then to production via manual approval or canary policies.

Canary flow example:

  1. Deploy new version to a small subset of pods in production namespace.
  2. Use traffic-splitting (via service mesh or routing rules) to send a small portion of traffic.
  3. Observe metrics (error rate, latency, conversion).
  4. Promote or roll back using OpenShift’s deployment history.

Observability and Business Metrics

Beyond basic technical monitoring:

  • Correlate technical metrics with business KPIs (checkout success rate, response time vs. cart abandonment).
  • Distributed tracing deployed for critical user journeys (e.g., from home page to payment).
  • Log sampling combined with full logging for error and security events.

Outcomes and Lessons:

  • Benefits:
    • Ability to handle extreme load spikes by autoscaling pods and nodes.
    • Safer experimentation with canary deployments and traffic shifting.
  • Challenges:
    • Cost management for autoscaling clusters across regions.
    • Complex cross-region data consistency.
  • Key practice:
    • Treat OpenShift configuration as code; consistently reuse Helm charts, Kustomize overlays, or Operators to avoid drift between environments and regions.

Case Study 3: Telecommunications – Network Functions and Edge

Context and Goals

A large telecom operator aims to:

  • Virtualize network functions (VNFs/CNFs) on cloud-native infrastructure.
  • Support 5G workloads and edge computing use cases.
  • Standardize operations across central and edge sites.

OpenShift is selected because of:

  • Support for telco-specific configurations and Operators.
  • Ability to run on bare metal with specialized networking.
  • Ecosystem support for hardened, certified CNFs.

Architecture Overview

  • Central data centers:
    • Large OpenShift clusters for control-plane network functions, OSS/BSS, analytics.
  • Edge locations:
    • Smaller OpenShift clusters (or Single-node OpenShift) for local packet processing and low-latency services.
  • Connectivity:
    • Encrypted tunnels and strict segmentation between edge and core.
    • Integration with telecom-grade underlay networks.

Specialized Node and Workload Configuration

  • Node pools (machine sets) tuned for:
    • Data-plane workloads: CPU pinning, huge pages, SR-IOV for high-performance networking.
    • Control-plane applications: standard virtualization-like tuning.
  • Use of specific SCCs and node labels:
    • CNF pods scheduled only on appropriately tuned nodes via nodeSelector and affinity rules.
    • Taints and tolerations used to ensure telco workloads do not share nodes with general-purpose applications.

Lifecycle and Operations

  • Operators used extensively:
    • For CNF lifecycle management (installation, upgrade, rollback).
    • For cluster configuration (networking plugins, SR-IOV configuration).
  • Rolling upgrades coordinated to maintain carrier-grade SLAs:
    • Change windows and maintenance processes tightly integrated with OpenShift’s upgrade workflows.
    • Pre-production lab clusters mirror production for validation.

Outcomes and Lessons:

  • Benefits:
    • Faster rollout of new network services.
    • Better utilization of hardware compared to standalone appliances.
  • Challenges:
    • Deep expertise required in both networking and Kubernetes/OpenShift.
    • Strict performance and latency testing for each upgrade or change.
  • Key practice:
    • Standardize “telco profiles” for nodes and Operators to ensure consistent deployments across many sites.

Case Study 4: Research and HPC – Data Science at Scale

Context and Goals

A research organization wants to:

  • Support data scientists and researchers with flexible compute.
  • Run batch workloads and interactive notebooks.
  • Mix on-prem HPC resources with cloud capacity.

They adopt OpenShift to:

  • Provide a self-service platform for running containerized jobs.
  • Isolate users and teams securely.
  • Integrate with existing HPC clusters and storage systems.

Architecture and Workflows

  • Hybrid deployment:
    • On-prem OpenShift clusters close to HPC storage.
    • Optional burst capacity in cloud-based OpenShift clusters for peak workloads.
  • Workload types:
    • Interactive workloads: Jupyter notebooks, web-based analytics UIs.
    • Batch workloads: data preprocessing, simulation, model training.
    • GPU-accelerated jobs: deep learning, scientific computing.

Platform Usage Patterns

  • Multi-tenant namespaces:
    • team-astro, team-bio, team-ml, each with quotas and limits.
    • Projects pre-configured with shared ConfigMaps for data locations and standard images.
  • Job orchestration:
    • Job and CronJob resources used for batch processing.
    • Integration with existing schedulers or workflow managers where needed (e.g., Argo Workflows).
  • GPUs and accelerators:
    • Specialized node pools with GPUs, managed with GPU Operators.
    • Quotas controlling GPU access per team.

Data and Compliance Considerations

  • Research data often sensitive (e.g., medical, genomic):
    • Strict RBAC and network isolation between teams.
    • Encrypted storage and restrictions on external data egress.
  • Data ingestion and ETL pipelines run inside OpenShift to enforce policies.

Outcomes and Lessons:

  • Benefits:
    • Self-service for researchers while centralizing security and operations.
    • Better reproducibility thanks to containerized environments.
  • Challenges:
    • Teaching non-DevOps users how to work with containers and OpenShift.
    • Complex data access patterns and storage performance tuning.
  • Key practice:
    • Provide curated base images, templates, and documentation for common workflows so users don’t have to become platform experts.

Case Study 5: Public Sector – Compliance-Driven Digital Services

Context and Goals

A government agency wants to:

  • Deliver citizen-facing services online (portals, APIs).
  • Comply with strict government regulations around security, privacy, and data residency.
  • Standardize development practices across many internal teams and contractors.

OpenShift is chosen because:

  • It is available in hardened, certified variants for government regions.
  • It provides integrated tools for security, compliance, and auditing.
  • It supports both on-premise and cloud-based environments.

Platform Design and Governance

  • Central platform team provides shared OpenShift clusters as a service to internal departments.
  • Tenants (different departments/programs) receive:
    • Dedicated projects for dev/test/prod.
    • Pre-configured RBAC roles and resource quotas.
    • Policy-enforced ingress/egress controls.
  • Standard CI/CD patterns provided as reusable templates and reference implementations.

Security and Compliance Focus

Typical measures:

  • Mandatory image scanning and signing; only approved base images allowed.
  • Admission policies ensuring:
    • No privileged containers.
    • Only certain SCCs can be used in production.
  • Comprehensive logging forwarded to centralized government logging platforms for audit and incident response.

Outcomes and Lessons:

  • Benefits:
    • Shared, centrally governed platform reduces duplication and risk.
    • Faster onboarding of new projects with standard patterns.
  • Challenges:
    • Balancing stringent security control with developer productivity.
    • Coordinating between multiple agencies and contractors.
  • Key practice:
    • Document clear “platform contracts”: what the platform guarantees and what application teams are responsible for (e.g., application-level encryption, input validation).

Cross-Cutting Themes and Takeaways

Across these diverse industries, some common patterns emerge:

  • Platform as a product:
    • Successful organizations treat OpenShift as an internal product with roadmaps, SLAs, and support processes.
  • Configuration and policy as code:
    • GitOps, Operators, and templates reduce configuration drift and improve auditability.
  • Strong multi-tenancy and RBAC:
    • Project and namespace design is critical to security and operability.
  • Standardization vs. flexibility:
    • A catalog of approved images, Operators, and templates gives consistency while still allowing teams to innovate.
  • Investment in people and processes:
    • Training, documentation, and clear operational procedures are as important as the platform features themselves.

These case studies illustrate how the abstract concepts from earlier chapters translate into real-world platform architectures and workflows. They also highlight that technical choices in OpenShift are tightly connected to organizational structure, risk tolerance, and business goals.

Views: 0

Comments

Please login to add a comment.

Don't have an account? Register now!

Where to Move

Move chapter:

  • ☰ 1. Course Overview
    • ☰ 1.1. What is OpenShift
      • ☰ 1.2. Why OpenShift is used in modern IT and cloud environments
        • ☰ 1.3. OpenShift vs Kubernetes
          • ☰ 1.4. Typical OpenShift use cases
            • ☰ 1.5. Structure and goals of the course
            • ☰ 2. Containers and Cloud-Native Fundamentals
              • ☰ 2.1. What is a container
                • ☰ 2.2. Containers vs virtual machines
                  • ☰ 2.3. Introduction to Docker and container images
                    • ☰ 2.4. Container registries
                      • ☰ 2.5. Basics of cloud-native applications
                      • ☰ 3. Kubernetes Fundamentals
                        • ☰ 3.1. What is Kubernetes
                          • ☰ 3.2. Kubernetes architecture
                            • ☰ 3.3. Control plane components
                              • ☰ 3.4. Worker node components
                                • ☰ 3.5. Kubernetes objects and resources
                                  • ☰ 3.6. Declarative configuration model
                                  • ☰ 4. OpenShift Architecture
                                    • ☰ 4.1. Overview of OpenShift architecture
                                      • ☰ 4.2. Control plane in OpenShift
                                        • ☰ 4.3. Nodes and machine roles
                                          • ☰ 4.4. OpenShift Operators
                                            • ☰ 4.5. OpenShift networking model
                                              • ☰ 4.6. OpenShift storage model
                                              • ☰ 5. OpenShift Installation and Deployment Models
                                                • ☰ 5.1. OpenShift deployment options
                                                  • ☰ 5.2. Installer-Provisioned Infrastructure
                                                    • ☰ 5.3. User-Provisioned Infrastructure
                                                      • ☰ 5.4. Managed OpenShift services
                                                        • ☰ 5.5. Single-node OpenShift
                                                          • ☰ 5.6. Cluster lifecycle management
                                                          • ☰ 6. Accessing and Using OpenShift
                                                            • ☰ 6.1. OpenShift web console
                                                              • ☰ 6.2. OpenShift CLI (oc)
                                                                • ☰ 6.3. Authentication and authorization
                                                                  • ☰ 6.4. Projects and namespaces
                                                                    • ☰ 6.5. Resource quotas and limits
                                                                    • ☰ 7. Building and Deploying Applications
                                                                      • ☰ 7.1. Application deployment concepts
                                                                        • ☰ 7.2. Source-to-Image (S2I)
                                                                          • ☰ 7.3. Container-based deployments
                                                                            • ☰ 7.4. DeploymentConfigs and Deployments
                                                                              • ☰ 7.5. Rolling updates and rollbacks
                                                                              • ☰ 8. Networking in OpenShift
                                                                                • ☰ 8.1. Services and service discovery
                                                                                  • ☰ 8.2. Routes and ingress
                                                                                    • ☰ 8.3. Network policies
                                                                                      • ☰ 8.4. Load balancing
                                                                                        • ☰ 8.5. External access to applications
                                                                                        • ☰ 9. Storage in OpenShift
                                                                                          • ☰ 9.1. Persistent storage concepts
                                                                                            • ☰ 9.2. Persistent Volumes
                                                                                              • ☰ 9.3. Persistent Volume Claims
                                                                                                • ☰ 9.4. StorageClasses
                                                                                                  • ☰ 9.5. Dynamic provisioning
                                                                                                    • ☰ 9.6. Stateful applications
                                                                                                    • ☰ 10. Configuration and Secrets Management
                                                                                                      • ☰ 10.1. ConfigMaps
                                                                                                        • ☰ 10.2. Secrets
                                                                                                          • ☰ 10.3. Environment variables
                                                                                                            • ☰ 10.4. Managing sensitive data
                                                                                                              • ☰ 10.5. Best practices for configuration
                                                                                                              • ☰ 11. Scaling and High Availability
                                                                                                                • ☰ 11.1. Horizontal pod autoscaling
                                                                                                                  • ☰ 11.2. Vertical scaling
                                                                                                                    • ☰ 11.3. Self-healing and pod restarts
                                                                                                                      • ☰ 11.4. High availability concepts
                                                                                                                        • ☰ 11.5. Multi-zone and multi-region clusters
                                                                                                                        • ☰ 12. Monitoring, Logging, and Observability
                                                                                                                          • ☰ 12.1. Built-in monitoring stack
                                                                                                                            • ☰ 12.2. Metrics and alerts
                                                                                                                              • ☰ 12.3. Logging architecture
                                                                                                                                • ☰ 12.4. Distributed tracing
                                                                                                                                  • ☰ 12.5. Troubleshooting applications
                                                                                                                                  • ☰ 13. Security in OpenShift
                                                                                                                                    • ☰ 13.1. Security model overview
                                                                                                                                      • ☰ 13.2. Role-Based Access Control
                                                                                                                                        • ☰ 13.3. Security Context Constraints
                                                                                                                                          • ☰ 13.4. Image security and scanning
                                                                                                                                            • ☰ 13.5. Network security
                                                                                                                                              • ☰ 13.6. Compliance and auditing
                                                                                                                                              • ☰ 14. CI/CD and DevOps with OpenShift
                                                                                                                                                • ☰ 14.1. DevOps concepts
                                                                                                                                                  • ☰ 14.2. CI/CD pipelines overview
                                                                                                                                                    • ☰ 14.3. OpenShift Pipelines (Tekton)
                                                                                                                                                      • ☰ 14.4. GitOps with Argo CD
                                                                                                                                                        • ☰ 14.5. Integrating OpenShift with external CI tools
                                                                                                                                                        • ☰ 15. Operators and Platform Services
                                                                                                                                                          • ☰ 15.1. What are Operators
                                                                                                                                                            • ☰ 15.2. Operator Lifecycle Manager
                                                                                                                                                              • ☰ 15.3. Installing and managing Operators
                                                                                                                                                                • ☰ 15.4. Common platform Operators
                                                                                                                                                                  • ☰ 15.5. Custom Operators
                                                                                                                                                                  • ☰ 16. Upgrades, Maintenance, and Operations
                                                                                                                                                                    • ☰ 16.1. OpenShift upgrade process
                                                                                                                                                                      • ☰ 16.2. Backup and restore
                                                                                                                                                                        • ☰ 16.3. Node maintenance
                                                                                                                                                                          • ☰ 16.4. Cluster troubleshooting
                                                                                                                                                                            • ☰ 16.5. Capacity planning
                                                                                                                                                                            • ☰ 17. OpenShift on HPC and Specialized Workloads
                                                                                                                                                                              • ☰ 17.1. Running batch workloads on OpenShift
                                                                                                                                                                                • ☰ 17.2. OpenShift and GPUs
                                                                                                                                                                                  • ☰ 17.3. MPI and parallel workloads in containers
                                                                                                                                                                                    • ☰ 17.4. Hybrid HPC and cloud workflows
                                                                                                                                                                                    • ☰ 18. OpenShift in Practice
                                                                                                                                                                                      • ☰ 18.1. Typical OpenShift workflows
                                                                                                                                                                                        • ☰ 18.2. Development to production lifecycle
                                                                                                                                                                                          • ☰ 18.3. Case studies from industry
                                                                                                                                                                                            • ☰ 18.4. Common pitfalls and best practices
                                                                                                                                                                                            • ☰ 19. Future Directions and Ecosystem
                                                                                                                                                                                              • ☰ 19.1. Kubernetes ecosystem overview
                                                                                                                                                                                                • ☰ 19.2. OpenShift roadmap
                                                                                                                                                                                                  • ☰ 19.3. Serverless and event-driven workloads
                                                                                                                                                                                                    • ☰ 19.4. AI and data platforms on OpenShift
                                                                                                                                                                                                    • ☰ 20. Final Project and Hands-On Exercises
                                                                                                                                                                                                      • ☰ 20.1. Deploying a containerized application
                                                                                                                                                                                                        • ☰ 20.2. Implementing CI/CD with OpenShift
                                                                                                                                                                                                          • ☰ 20.3. Securing and scaling an application
                                                                                                                                                                                                            • ☰ 20.4. Monitoring and troubleshooting report