devops

kubernetes

How to connect to a container running in k8s as 'root' user

Step by step guide on how to connect to a container running in Kubernetes as the root user. This is not a requirement and should not be one for a stable system running on Kubernetes. But, during the Kubernetes cluster development, debugging or adding a new service to an existing cluster can be an absolute lifesaver. The ability to connect to a container running on Kubernetes will make debugging a breeze.

Read