Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 842 Bytes

README.md

File metadata and controls

39 lines (32 loc) · 842 Bytes

k8s-demo

Login:

gcloud auth login

Setup cluster

gcloud container clusters get-credentials CLUSTER_NAME

Deploy (deployment):

kubectl apply -f src/deployment.yaml

Deploy (service)

kubectl apply -f src/service.yaml

List of contexts

kubectl config get-contexts 

Remove context from config (not from server)

kubectl config delete-context CONTEXT_NAME 

Links: