Sunday, 30 October 2022
In this post, we have given the most useful commands of google kubernetes emgine. This will be handy reference. Create Cluster gcloud container clusters create my-cluster --zone us-central1-c --project my-kubernetes-project-123456 Get Credentials. This step helps to initialize the environment of cloud shell gcloud container clusters get-credentials my-cluster --zone us-central1-c --project my-kubernetes-project-123456 Create deployment in kubernetes kubectl create deployment hello-world-rest-api --image=shareGCP/hello-world-rest-api:0.0.1.RELEASE kubectl get deployment Expose the deployment to internet. This create a service in kubernetes kubectl expose deployment hello-world-rest-api...
Sunday, 30 October 2022 by Team search ยท 0
Subscribe to:
Posts (Atom)
Disclaimer
The ideas, thoughts and concepts expressed here are my own. They, in no way reflect those of my employer or any other organization/client that I am associated. The articles presented doesn't imply to any particular organization or client and are meant only for knowledge Sharing purpose. The articles can't be reproduced or copied without the Owner's knowledge or permission.