OpenShift Provision Cluster and Add Machine Pool
A 5-step recipe with Red Hat. We can help you get access.
Recipe · 5 steps
OpenShift Provision Cluster and Add Machine Pool
with Red Hat · IT Infrastructure Management
Resolve version and provider, create a cluster, wait for ready, add a machine pool.
- List available OpenShift versions and select the first enabled entry to install on the new cluster.
- List supported cloud providers and select the first available provider id to host the cluster.
- Create the cluster using the resolved version, provider, and supplied region. The API returns a cluster record whose state begins as installing.
- Retrieve the cluster and re-poll while it is still installing; proceed to add a machine pool once the cluster state becomes ready.
- Create an additional machine pool of compute nodes on the now-ready cluster.
What you'll need to have ready
- token: OCM bearer token for the Cluster Manager API.
- name: The name for the new cluster.
- display_name: An optional human-friendly display name for the cluster.
- regionId: The cloud provider region id to deploy into.
- multi_az: Whether to spread the cluster across multiple availability zones.
- compute: The number of compute (worker) nodes for the cluster.
- instance_type: The instance type for the additional machine pool.
- replicas: The replica count for the additional machine pool.
For your developer
Arazzo workflow red-hat:provision-cluster, 5 operations: listVersions → listCloudProviders → createCluster → getCluster → createMachinePool. Specs on APIs.io.