DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Living with Kubernetes: 12 Commands to Debug Your Workloads

3 years ago thenewstack.io
Living with Kubernetes: 12 Commands to Debug Your Workloads

Summary: This is a summary of an article originally published by The New Stack. Read the full original article here →

https://www.linkedin.com/in/justingarrison/ In my previous article, I showed you how to https://thenewstack.io/living-with-kubernetes-debug-clusters-in-8-commands/. It doesn’t matter if you get the dreaded CrashLoopBack or other failures.

Debug Specific Pods kubectl debug -it --image=debian $POD kubectl label pod $POD app- kubectl blame pod

kubectl debug pod –it –image=debian $POD https://cdn.thenewstack.io/media/2021/11/6750ac4a-image7.jpg The debug command requires https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/ to be enabled on your cluster.

kubectl label pod $POD app- https://cdn.thenewstack.io/media/2021/11/7a0e57df-image5.jpg This is one of my favorite debugging commands in Kubernetes.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com