Yay cats!
go run main.go
docker build -f DOCKERFILE . -t catservice
docker run -p 80:80 catservice
export PROJECT_ID=christiewilson-catfactory
export CLUSTER_NAME=ilovecats
gcloud beta container clusters create $CLUSTER_NAME \
--enable-autoscaling \
--min-nodes=1 \
--max-nodes=3 \
--scopes=cloud-platform \
--enable-basic-auth \
--no-issue-client-certificate \
--project=$PROJECT_ID \
--region=asia-northeast1 \
--machine-type=n1-standard-4 \
--image-type=cos \
--num-nodes=1 \
--cluster-version=latest \
--addons=HorizontalPodAutoscaling,Istio \
--istio-config=auth=MTLS_PERMISSIVE
kubectl create clusterrolebinding cluster-admin-binding \
--clusterrole=cluster-admin \
--user=$(gcloud config get-value core/account)
Finding the external IP of the ingress gateway:
kubectl -n istio-system get svc