DEV Community

Hari Bantwal
Hari Bantwal

Posted on

OKE: Simple Steps

  • Create an OKE Cluster in OCI, with default settings

Image description

  • Create kubeconfig file in your connecting machine.
oci ce cluster create-kubeconfig --cluster-id ocid1.cluster.oc1.eu-zurich-1.aaaaaaaa5s4il4pmzpg274oahr4z2at5do3ws7pemss3svdp2cbaobenjnoa --file $HOME/.kube/config --region eu-zurich-1 --token-version 2.0.0  --kube-endpoint PUBLIC_ENDPOINT
Enter fullscreen mode Exit fullscreen mode

kubectl create -f https://k8s.io/examples/application/deployment.yaml

kubectl get pods

Top comments (0)