Setting up a production environment

Administrators are typically responsible for installing and managing Kubernetes-based clusters in a production environment. In addition, as mentioned in Factors to consider for production planning, it is a good idea to have a staging environment that mirrors the production environment as closely as possible.

This page provides links to installation information for Kubernetes platforms. For Lightbend Platform, You will also need a command-line interface on workstations that will have access to manipulate cluster objects and Helm.

IBM Cloud Paks

The IBM Cloud Pak System includes IBM Cloud Paks, Vmware and Red Hat Openshift. It provides a virtualized cloud operating environment optimized for building, integrating, automating, running and managing containerized applications and Kubernetes-based workloads. Several Paks are available for different use cases. Each Pak installs a container platform, containerized IBM middleware and open source components, and common software services for development and management—​on top of a common integration layer.

Kubernetes installation

Kubernetes documentation includes information on production environments and best-practices.

First, install a container runtime. To install Kubernetes, you can choose one of the following tools:

  • kubeadm for Linux machines

  • KRIB for installation on bare metal

  • kops for installation on AWS

  • Kubespray for installation on GCE, Azure, OpenStack, AWS, vSphere, Oracle Cloud Infrastructure (Experimental) or Baremetal with Kubspray

OpenShift installation

A good place to start for instructions to install OpenShift is Install OpenShift Container Platform. The GitHub OpenShift-Ansible repo contains Ansible roles and playbooks to install, upgrade, and manage OpenShift clusters. The installation and management of a capable, multi-node cluster requires the execution of Ansible from the bootstrap node. The installation of production-like cluster is thus specific to the target environment.

OpenShift reference architectures provides excellent guidelines. On Amazon Web Services, the OpenShift Quick Start provides a nice reference build with minimal effort.