Browsed by
Tag: debug

Kubernetes Isolate Crashed Pod

Kubernetes Isolate Crashed Pod

See also full blog post: Kubernetes: Isolate Crashed Pod If you are running your pod (services / containers) on a Kubernetes cluster, and the pod runs into problems, you can decide to take it out of the load, but keep the pod running for further investigations. To park or isolate a pod: Find your pod name. Find the pod selector labels in use. Update one of the selector labels. Debug. Delete the broken pod. In summary; by changing one of…

Read More Read More

Kubernetes: Isolate Crashed Pod

Kubernetes: Isolate Crashed Pod

Introduction If you are running your pod (services / containers) on a Kubernetes cluster, and the pod runs into problems, you can decide to take it out of the load, but keep the pod running for further investigations. TL;DR; See the notes section on this site for the short summary; Note: Kubernetes Isolate Crashed Pod Kubernetes Recap Lets start with a summary of the Kubernetes components which are involved, here is a small (simplified) recap of how the parts fit…

Read More Read More

Kind == Mini Kubernetes Cluster

Kind == Mini Kubernetes Cluster

If you need to run a local (mini) Kubernetes cluster for some simple tests, you can try “Kind”. In seems to runs inside a single docker image (so you need docker on your machine). See https://kind.sigs.k8s.io/docs/user/quick-start/ on how to install it. Example installation (GoLang example): If Kind was installed, you can use a simple cluster create command: Or create it like this (from Linux command line) if you need special settings -for example needed if you want to use kubectl…

Read More Read More