-
Background: I am using AWS and Kubernetes. I have the ingress controller running in a pod and it is proxying requests to a web service running in another pod. What is the password of the root user account on the ingress controller pod? I am trying to install telnet so I can check connectivity, but I am unable to install it to the pod of the ingress controller. I have tried "apt install telnet" but it returns
and trying "sudo apt install telnet" returns That's why I thought of trying to change over to the root account using "su" but I don't know the password. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @Smith334 pods are ephemeral so you shouldn't be installing anything inside the pod, I'd recommend prepackaging your docker image with required utilities.
then
hope this helps. |
Beta Was this translation helpful? Give feedback.
-
@Smith334 depending on the k8s version you're using, you might able to use
You can read more about it here: https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/#ephemeral-container |
Beta Was this translation helpful? Give feedback.
@Smith334 depending on the k8s version you're using, you might able to use
kubectl debug
with something likeYou can read more about it here: https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/#ephemeral-container