How to Setup Kubernetes Cluster in Google Cloud Using Cloudshell



Setup Commands

gcloud auth list
gcloud config set compute/zone us-central1-a
gcloud container clusters create devcluster
gcloud container clusters get-credentials devcluster
kubectl create deployment hello-server
kubectl expose deployment hello-server --type=LoadBalancer --port 8080
kubectl get service

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment


Post a Comment