point to your project
gcloud config set project lgke-app-gke
Add your network to your cluster
dig +short myip.opendns.com @resolver1.opendns.com
Update cluster config
gcloud container clusters describe pugsite-dev-gke-cluster --format "flattened(masterAuthorizedNetworksConfig.cidrBlocks[])" --zone us-central1-a
gcloud container clusters update pugsite-dev-gke-cluster --enable-master-authorized-networks --master-authorized-networks 34.145.206.74/32 --zone us-central1-a
Order to deploy application
Namespaces
DOcker
Create repository gcloud artifacts repositories create docker-repo --repository-format=docker --location=us-central1 --description="Docker repository"
gcloud artifacts repositories list
gcloud builds submit .
.