Skip to main content
  1. Take it in Bytes/
  2. Tech/OpenShift/
  3. Platform Architecture/

Design Pattern Templates for OpenShift: Part 1

·5 mins· 0
Technical Design Guide OpenShift Serverless Virtualization DevSecOps Shift-Left Patterns OpenShift Kubernetes Solution Architecture Hybrid Cloud Platform Engineering
Table of Contents
OCP Solution Architectures - This article is part of a series.
Part 3: This Article

Introduction #

In previous entries of this series, we explored the Top Design Patterns for the Modern Hybrid Cloud with OpenShift. Building on that foundation, today we delve deeper into three specific platform patterns: Serverless, Virtualization, and DevSecOps (or Shift-Left). The mastery of these patterns will allow you to build and manage OpenShift clusters that are robust, resilient, and perfectly tailored to your needs.

Each of these patterns comes with its set of components and integrations. But worry not, we will dissect each one to understand what they do and how they contribute to the larger pattern. Further, we will discuss optional integrations and complementary patterns for added functionality and capabilities.

So, buckle up and prepare for an immersive journey into the world of OpenShift clusters.

Serverless Pattern #

A Serverless pattern provides the ability to run applications without having to manage underlying servers. It automatically scales from zero to potentially thousands of instances based on demand, only charging for the actual compute consumption.

Despite what one might think based on the name, Serverless workloads still rely on underlying servers for compute; however, workloads and users aren’t involved in the management of the hardware.

Key components include:

  • OpenShift Serverless: Based on Knative, a Kubernetes platform, to deploy and manage modern serverless workloads. It enables auto-scaling, routing, eventing, and many more for a seamless serverless experience. Think AWS Lambda, but on OpenShift instead of AWS.
  • OpenShift Pipelines: Tekton provides Kubernetes resources for declaring CI/CD-style pipelines, allowing for serverless workload deployment infrastructure to run alongside the final product.

Optional integrations and Patterns might include:

Complementary patterns could be Event-Driven Architecture, Edge, and Hybrid Cloud.

Check out my series on Serverless for more deep dives on the topic!

Virtualization Pattern #

The Virtualization pattern is perfect for managing both virtualized workloads alongside containerized applications in a hybrid cloud environment. A bare-metal deployment is recommended for this pattern to offer the best performance and features.

Kubevirt v1.0 was recently released in July 2023, which is an important event in the move to Kubernetes-based Virtualization!

Key components and integrations include:

Optional integrations might be:

  • OpenShift Data Foundations: Based on technologies such as Ceph, Rook, and Noobaa, ODF provides clustered storage capabilities, enhancing Disaster Recovery and storage performance for all attached workloads.
  • OpenShift Migration Toolkit for Containers (MTC): Can ease the transition from older systems to your modern hybrid cloud platform.

Complementary patterns could be Microservices and Edge Computing.

Check out my series on KubeVirt for more deep dives on the topic!

DevSecOps (Shift-Left) Pattern #

DevSecOps, or Shift-Left, integrates security into the DevOps pipeline instead of treating it as an afterthought. This pattern encourages security measures to be implemented from the get-go, resulting in more secure applications.

Key components and integrations include:

Optional integrations could be:

  • Vulnerability Management Tools: Tools such as Quay Security Operator provide image scanning capabilities to ensure secure application delivery.

Complementary patterns might be Continuous Deployment and Policy-Driven Deployment.

Check out my series on Software Supply Chain Security for more deep dives on the topic!

Conclusion #

OpenShift patterns offer powerful ways to tailor your clusters to your specific needs. By understanding the components and integrations of each pattern, you can create a robust and secure infrastructure that aligns with your organization’s goals. Remember, OpenShift’s strength lies in its flexibility, and the Serverless, Virtualization, and DevSecOps patterns represent just a fraction of what’s possible with this potent platform.

Additional Reading #

OCP Solution Architectures - This article is part of a series.
Part 3: This Article