capabilities.work

Provision OKE Cluster With Node Pool

A 4-step recipe with Oracle Cloud Infrastructure. We can help you get access.

Recipe · 4 steps

Provision OKE Cluster With Node Pool

Create an OKE cluster, wait for ACTIVE, then add a node pool.

  1. Create a new Kubernetes cluster in the supplied VCN.
  2. List clusters in the compartment to resolve the OCID of the newly created cluster by name.
  3. Poll the cluster until it reports the ACTIVE lifecycle state.
  4. Create a node pool attached to the active cluster.
What you'll need to have ready
  • compartmentId: The OCID of the compartment to create the cluster in.
  • clusterName: The name of the Kubernetes cluster.
  • vcnId: The OCID of the VCN to deploy the cluster into.
  • kubernetesVersion: The Kubernetes version (e.g. v1.28.2).
  • nodePoolName: The name of the node pool.
  • nodeShape: The compute shape for worker nodes (e.g. VM.Standard.E4.Flex).
  • quantityPerSubnet: The number of worker nodes per subnet.
For your developer

Arazzo workflow oracle-cloud:provision-oke-cluster, 4 operations: createCluster → listClusters → getCluster → createNodePool. Specs on APIs.io.