Overview of machine management

You can use machine management to flexibly work with underlying infrastructure such as Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform (GCP), OpenStack, oVirt, and VMware vSphere to manage the OKD cluster. You can control the cluster and perform auto-scaling, such as scaling up and down the cluster based on specific workload policies.

It is important to have a cluster that adapts to changing workloads. The OKD cluster can horizontally scale up and down when the load increases or decreases.

Machine management is implemented as a custom resource definition (CRD). A CRD object defines a new unique object Kind in the cluster and enables the Kubernetes API server to handle the object’s entire lifecycle.

The Machine API Operator provisions the following resources:

  • MachineSet

  • Machine

  • ClusterAutoscaler

  • MachineAutoscaler

  • MachineHealthCheck

Managing compute machines

As a cluster administrator, you can perform the following actions:

Managing control plane machines

As a cluster administrator, you can perform the following actions:

Applying autoscaling to an OKD cluster

You can automatically scale your OKD cluster to ensure flexibility for changing workloads. To autoscale your cluster, you must first deploy a cluster autoscaler, and then deploy a machine autoscaler for each compute machine set.

  • The cluster autoscaler increases and decreases the size of the cluster based on deployment needs.

  • The machine autoscaler adjusts the number of machines in the compute machine sets that you deploy in your OKD cluster.

Adding compute machines on user-provisioned infrastructure

User-provisioned infrastructure is an environment where you can deploy infrastructure such as compute, network, and storage resources that host the OKD. You can add compute machines to a cluster on user-provisioned infrastructure during or after the installation process.

Adding RHEL compute machines to your cluster

As a cluster administrator, you can perform the following actions: