Selecting a cluster installation method and preparing it for users

Before you install OKD, decide what kind of installation process to follow and make sure you that you have all of the required resources to prepare the cluster for users.

Selecting a cluster installation type

Before you install an OKD cluster, you need to select the best installation instructions to follow. Think about your answers to the following questions to select the best option.

Do you want to install and manage an OKD cluster yourself?

If you want to install and manage OKD yourself, you can install it on the following platforms:

  • Alibaba Cloud

  • Amazon Web Services (AWS) on x86_64 instances

  • Amazon Web Services (AWS) on arm64 instances

  • Microsoft Azure

  • Microsoft Azure Stack Hub

  • Google Cloud Platform (GCP)

  • Red Hat OpenStack Platform (RHOSP)

  • oVirt

  • IBM Cloud

  • IBM Z and LinuxONE

  • IBM Z and LinuxONE for Fedora KVM

  • IBM Power

  • VMware vSphere

  • VMware Cloud (VMC) on AWS

  • Bare metal or other platform agnostic infrastructure

You can deploy an OKD 4 cluster to both on-premise hardware and to cloud hosting services, but all of the machines in a cluster must be in the same datacenter or cloud hosting service.

If you want to use OKD but do not want to manage the cluster yourself, you have several managed service options. If you want a cluster that is fully managed by Red Hat, you can use OpenShift Dedicated or OpenShift Online. You can also use OpenShift as a managed service on Azure, AWS, IBM Cloud, or Google Cloud. For more information about managed services, see the OpenShift Products page.

Have you used OKD 3 and want to use OKD 4?

If you used OKD 3 and want to try OKD 4, you need to understand how different OKD 4 is. OKD 4 weaves the Operators that package, deploy, and manage Kubernetes applications and the operating system that the platform runs on, Fedora CoreOS (FCOS), together seamlessly. Instead of deploying machines and configuring their operating systems so that you can install OKD on them, the FCOS operating system is an integral part of the OKD cluster. Deploying the operating system for the cluster machines as part of the installation process for OKD. See Comparing OpenShift Container Platform 3 and OpenShift Container Platform 4.

Because you need to provision machines as part of the OKD cluster installation process, you cannot upgrade an OKD 3 cluster to OKD 4. Instead, you must create a new OKD 4 cluster and migrate your OKD 3 workloads to them. For more information about migrating, see OpenShift Migration Best Practices. Because you must migrate to OKD 4, you can use any type of production cluster installation process to create your new cluster.

Do you want to use existing components in your cluster?

Because the operating system is integral to OKD, it is easier to let the installation program for OKD stand up all of the infrastructure. These are called installer provisioned infrastructure installations. In this type of installation, you can provide some existing infrastructure to the cluster, but the installation program deploys all of the machines that your cluster initially needs.

You can deploy an installer-provisioned infrastructure cluster without specifying any customizations to the cluster or its underlying machines to Alibaba Cloud, AWS, Azure, Azure Stack Hub, GCP, or VMC on AWS. These installation methods are the fastest way to deploy a production-capable OKD cluster.

If you need to perform basic configuration for your installer-provisioned infrastructure cluster, such as the instance type for the cluster machines, you can customize an installation for Alibaba Cloud, AWS, Azure, GCP, or VMC on AWS.

For installer-provisioned infrastructure installations, you can use an existing VPC in AWS, vNet in Azure, or VPC in GCP. You can also reuse part of your networking infrastructure so that your cluster in AWS, Azure, GCP, or VMC on AWS can coexist with existing IP address allocations in your environment and integrate with existing MTU and VXLAN configurations. If you have existing accounts and credentials on these clouds, you can re-use them, but you might need to modify the accounts to have the required permissions to install OKD clusters on them.

You can use the installer-provisioned infrastructure method to create appropriate machine instances on your hardware for RHOSP, RHOSP with Kuryr, RHOSP on SR-IOV, oVirt, vSphere, and bare metal. Additionally, for vSphere, VMC on AWS, you can also customize additional network parameters during installation.

If you want to reuse extensive cloud infrastructure, you can complete a user-provisioned infrastructure installation. With these installations, you manually deploy the machines that your cluster requires during the installation process. If you perform a user-provisioned infrastructure installation on AWS, Azure, Azure Stack Hub, GCP, or VMC on AWS, you can use the provided templates to help you stand up all of the required components. You can also reuse a shared VPC on GCP. Otherwise, you can use the provider-agnostic installation method to deploy a cluster into other clouds.

You can also complete a user-provisioned infrastructure installation on your existing hardware. If you use RHOSP, RHOSP on SR-IOV, oVirt, IBM Z or LinuxONE, IBM Z or LinuxONE with Fedora KVM, IBM Power, or vSphere, use the specific installation instructions to deploy your cluster. If you use other supported hardware, follow the bare metal installation procedure. For some of these platforms, such as RHOSP, vSphere, VMC on AWS, and bare metal, you can also customize additional network parameters during installation.

Do you need extra security for your cluster?

If you use a user-provisioned installation method, you can configure a proxy for your cluster. The instructions are included in each installation procedure.

If you want to prevent your cluster on a public cloud from exposing endpoints externally, you can deploy a private cluster with installer-provisioned infrastructure on AWS, Azure, or GCP.

If you need to install your cluster that has limited access to the internet, such as a disconnected or restricted network cluster, you can mirror the installation packages and install the cluster from them. Follow detailed instructions for user provisioned infrastructure installations into restricted networks for AWS, GCP, IBM Z or LinuxONE, IBM Z or LinuxONE with Fedora KVM, IBM Power, vSphere, VMC on AWS, or bare metal. You can also install a cluster into a restricted network using installer-provisioned infrastructure by following detailed instructions for AWS, GCP, VMC on AWS, RHOSP, oVirt, and vSphere.

If you need to deploy your cluster to an AWS GovCloud region, AWS China region, or Azure government region, you can configure those custom regions during an installer-provisioned infrastructure installation.

Preparing your cluster for users after installation

Some configuration is not required to install the cluster but recommended before your users access the cluster. You can customize the cluster itself by customizing the Operators that make up your cluster and integrate you cluster with other required systems, such as an identity provider.

For a production cluster, you must configure the following integrations:

Preparing your cluster for workloads

Depending on your workload needs, you might need to take extra steps before you begin deploying applications. For example, after you prepare infrastructure to support your application build strategy, you might need to make provisions for low-latency workloads or to protect sensitive workloads. You can also configure monitoring for application workloads.

Supported installation methods for different platforms

You can perform different types of installations on different platforms.

Not all installation options are supported for all platforms, as shown in the following tables.

Table 1. Installer-provisioned infrastructure options
AlibabaAWSAzureAzure Stack HubGCPRHOSPRHOSP on SR-IOVoVirtBare metalvSphereVMCIBM CloudIBM ZIBM Power

Default

X

X

X

X

X

X

X

X

X

X

Custom

X

X

X

X

X

X

X

X

X

X

X

Network customization

X

X

X

X

X

X

X

X

X

Restricted network

X

X

X

X

X

X

Private clusters

X

X

X

Existing virtual private networks

X

X

X

Government regions

X

X

Secret regions

X

China regions

X

Table 2. User-provisioned infrastructure options
AlibabaAWSAzureAzure Stack HubGCPRHOSPRHOSP on SR-IOVoVirtBare metalvSphereVMCIBM CloudIBM ZIBM Z with Fedora KVMIBM PowerPlatform agnostic

Custom

X

X

X

X

X

X

X

X

X

X

X

X

X

X

Network customization

X

X

X

X

Restricted network

X

X

X

X

X

X

X

X

Shared VPC hosted outside of cluster project

X