2 Answers
1. Go into interface and enable kubernetes engine
2. Once enabled from commandline
$gcloud init
$gcloud container clusters create learnk8s
If you have a running cluster, you can use the following to fetch its credentials (to update $HOME/.kube/config with the API server address + CA/Client Cert):
gcloud container clusters get-credentials
On AKS it’s similar:
az aks get-credentials