Provision a management cluster with Oracle Container Engine for Kubernetes
For this release, if you use Oracle Container Engine for Kubernetes (OKE) for your management cluster, you will be provisioning a public Kubernetes cluster i.e. its API server must be accessible to kubectl
. You can use either use the OCI console to do the provisioning or the terraform-oci-oke project.
-
Login to the OCI Console as the
iaas_oke_usr
-
Search for OKE and select it:
-
Select the right compartment where you will be creating the OKE Cluster:
-
Click Create Cluster, select Quick Create and click Launch Workflow:
-
Name your cluster and ensure you select Public Endpoint and choose Private Workers:
-
Click Next and Create Cluster.
-
When the cluster is ready, set up access to the OKE cluster. You can either use
If you are working with an existing Kubernetes cluster and have an existing kubeconfig
in your $HOME/.kube/config
directory, running the command to set up local access will add a new cluster context to your existing kubeconfig
.