====== GCP ====== ===== GKE ===== # Prerequisites: # Create the GKE cluster with autopilot # Create the Artifact Registry / Repository for storing container images brew install google-cloud-sdk gcloud init # If it was previously initialized, perform the following instead #gcloud auth login #gcloud auth list #gcloud config set account #gcloud artifacts locations list # list of all loc, not just your repo gcloud auth configure-docker asia-south1-docker.pkg.dev docker tag omsdk:latest asia-south1-docker.pkg.dev/nitin-340604/repo-for-artif-reg/omsdk:202412112135 docker push asia-south1-docker.pkg.dev/nitin-340604/repo-for-artif-reg/omsdk:202412112135 # enable 'Kubernetes Engine API' from the GCP web UI gcloud components install kubectl # Automatically installs gke-gcloud-auth-plugin component as a dependency gcloud container clusters get-credentials autopilot-cluster-1 --region=asia-south1 kubectl get namespaces # to test