Troubleshooting in Kubernetes

POD with replica set count is two
  • Events
  • Restart time of the POD
  • Traffic during POD restart
  • Reason for POD restart
  • Termination grace period
  • Readiness and Liveness Prob
kubectl get events -n namespace pod_name
kubectl describe pod -n namespace pod_name | grep 'Start Time'
kubectl describe pod -n namespace pod_name
Exit Code 0: Absence of an attached foreground process
Exit Code 1: Indicates failure due to application error
Exit Code 137: Indicates failure as container received SIGKILL
Exit Code 139: Indicates failure as container received SIGSEGV
Exit Code 143: Indicates failure as container received SIGTERM

--

--

--

DevOps Engineer with 10+ years of experience in the IT Industry. In-depth experience in building highly complex, scalable, secure and distributed systems.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Technologist Spotlight: AnJu Hyppolite

Why Learn the Python Programming Langua

Use Python as a calculator

The Flaws in Polyglot Persistence

Git: A Way to Collaborate!

Best Resources to Learn Go, Google’s Programming Language

Implementation of an Operating System( 5-Interrupts and Inputs)

Spark on major Cloud Providers — Part 1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ankur

Ankur

DevOps Engineer with 10+ years of experience in the IT Industry. In-depth experience in building highly complex, scalable, secure and distributed systems.

More from Medium

Installing Containerized Applications on Internet-Restricted Environments

OCI Load Balancer — Part-I

[Prometheus] What is the difference between rate and irate

Installation and Configuration of HashiCorp Vault AKS .