Kubernetes Hacks and Tricks – #8 Pod Preemption, Eviction and Priority classes
In the previous article, we learnt about QoS classes in Kubernetes and how Kubernetes evicts Pods if node resources are...
Kubernetes Hacks and Tricks – #7 Pod and Container Resource and QoS classes
Do you know how Kubernetes decides which Pods should be evicted if the node resource is insufficient or running out?...
Kubernetes Hacks and Tricks – #6 Find Pods running from deprecated registry
As you know, recently, Kubernetes changed its main repository from k8s.gcr.io to registry.k8s.io, meaning you should update your manifests as...
Kubernetes Hacks and Tricks – #5 Pod DNS Policy and DNS Config options
What is dnsPolicy in Pod spec, and when should we change it? By setting the dnsPolicy option in Pod spec,...
Kubernetes Hacks and Tricks – #4 Find worker node info from Pod spec info
In access-limited clusters where you don’t have access to cluster resources, you may need worker nodes’ info like worker node...
Kubernetes Hacks and Tricks – #3 List all downloaded images on worker nodes
Do you want to know which images are already available on your worker nodes? If yes, you need to run...
Kubernetes Hacks and Tricks – #2 Optional ConfigMaps and Secrets in Pods
In some applications, the application configurations are set by default in the codebase (hard-coded). If you want to override them,...
Kubernetes Hacks and Tricks – #1 Immutable ConfigMaps and Secrets
Sometimes you want to create configs/secrets for your applications, and you want to make sure when configs/secrets got created, nobody...