Modern applications—primarily microservices that are bundled with their dependencies and configurations—are increasingly being built using container technology. Kubernetes, also known as K8s, is an open-source platform for deploying and managing containerized applications at scale. Google open-sourced the Kubernetes container orchestration system in 2014.
The following figure shows the Kubernetes architecture:
Figure 3. Kubernetes architecture
For additional information about Kubernetes components and concepts, see Kubernetes Components.
Kubernetes features for container orchestration at scale include:
In a simulated development and testing scenario in Use Case 2, we used the Kubernetes container orchestration system to deploy two Docker containers in a pod.
A Kubernetes cluster consists of at least one cluster master and multiple worker machines called nodes. These master and node machines run the Kubernetes orchestration system. A cluster is the foundation of the Kubernetes objects including the containerized Oracle database application, all running within a cluster (Figure 12). The Kubernetes cluster has the following components:
The Kubernetes CSI plug-in implements the Container Storage Interface protocol, which enables containerized applications in Kubernetes clusters to use block storage. To address the challenges of persistent storage, Dell EMC VxFlex provides its unique CSI plug-in. The VxFlex CSI plug-in enables our customers to deliver persistent storage for container-based applications on premises, for both development and production scale.
The Kubernetes CSI specification was developed as a standard for exposing arbitrary block and file storage systems to containerized workloads through an orchestration layer. Kubernetes previously provided a powerful volume plug-in that was part of the core Kubernetes code and shipped with the core Kubernetes binaries. Before the adoption of CSI, however, adding support for new volume plug-ins to Kubernetes when the code was “in-tree” was challenging. Vendors who wanted to add support for their storage system to Kubernetes, or even to fix a problem in an existing volume plug-in, were forced to align with the Kubernetes release process. Also, third-party storage code can cause reliability and security issues in core Kubernetes binaries. The code was often difficult—or sometimes impossible—for Kubernetes maintainers to test and maintain.
The adoption of the CSI specification makes the Kubernetes volume layer truly extensible. Using CSI, third-party storage providers can write and deploy plug-ins to expose new storage systems in Kubernetes without ever having to touch the core Kubernetes code. This capability gives Kubernetes users more storage options and makes the system more secure and reliable. Our Use Case 2 highlights these advantages by using the Dell EMC CSI Driver for Dell EMC VxFlex OS to show the benefits of Kubernetes storage automation.
Figure 4. VxFlex OS and Kubernetes architecture with the CSI driver
The VxFlex CSI driver enables customers to automate storage activities while using Kubernetes. Capabilities include:
Volume prefixes enable LUN identification. For persistent volumes, the CSI plug-in supports both the ext4 and xfs file systems on worker nodes. The GitHub dell/csi-vxflexos page provides installation details and a download link for the latest VxFlex CSI driver. You can also download the driver product guide from GitHub.
Kubernetes is an open-source container orchestration system. Dell Technologies is a platinum member of the Cloud Native Computing Foundation (CNCF), which supports ongoing Kubernetes development. Companies such as VMware, Red Hat, and Canonical have created their own supported Kubernetes versions that are based on the common open-source version. In the use cases that we describe in this white paper, we used open-source Kubernetes because of its capability to run anywhere, to cover the broadest number of designs. For example, key supported platforms include most versions of Linux and clouds like Google GCP, Amazon AWS, and Microsoft Azure. There is no support cost for open-source Kubernetes, which is supported by the Kubernetes community; however, customers needing enterprise support must explore other versions.
VMware Enterprise PKS, which was jointly developed by VMware and Pivotal, is an enterprise implementation of Kubernetes with deep NSX-T integration and a built-in private registry. The commitment of VMware and Pivotal to support upstream Kubernetes means that customers can get a new version of PKS within weeks of a new Kubernetes release. For customers that have standardized on VMware vSphere, PKS is a natural extension of the platform.
Red Hat OpenShift is a platform for managing containers across on-premises data centers and clouds such as Azure Red Hat OpenShift. Red Hat OpenShift is part of the CNCF Certified Kubernetes program, ensuring compatibility for your container workloads. Ease of installation, a focus on security, and enterprise support make OpenShift a popular choice. The Dell Technologies Solutions Info Hub for the Red Hat OpenShift Container Platform has a library of related technical guides and papers.
Canonical offers a pure upstream Kubernetes platform for managing containers across a wide range of clouds, including all major public clouds, and in private data centers for both bare-metal and virtualized infrastructure. Canonical also offers enterprise support for Kubernetes on Ubuntu for public clouds, VMware, OpenStack, and bare metal.