Visit the Google Cloud Console and navigate to clusters https://console.cloud.google.com/kubernetes/list Here you will see all of your clusters. Next, add a cluster to your kubectl context. $ gcloud container clusters get-credentials –project my-project <cluster name> –region <cluster region> Done!
Make Replicas Zero to Pause/Stop a Pod $ kubectl scale –replicas=0 deployment/<service name> -n staging deployment.extensions/<service name> scaled It’s useful to test a bringdown status of a service. References StackOverflow
Kubernetes provides virtualized infrastructure components such as storage, compute and network. Imagine an operating system that allows users to allocate resources and run their applications. StatefulSet is a type of application that needs to persist information across lifetimes 🙂 The storage is exposed as a class and name. Storage class mimic real world and has … More Kubernetes for Dummies: StatefulSet