Closed jmarkotic closed 1 year ago
I do not recommend you to modify a running container. Containers are not equivalent to VMs. I would try to use a sidecar container with an image with the tools you need. Sidecar containers share network interfaces with the main containers.
Another option, if your deployment do not have security concerns, you can modify the container security context to make it run as root: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
You will find a value in the helm chart to modify the security context:
However we have not test it.
Hi, not an issue, just info query. i wanted to install some packages on some pods/containers (mainly tcpdump for traffic inspection). I can instal it on on upf, since i can sudo there. But for rest of pods, it does not allowed me. And i don't know root password on those. Is there a way to install some packages on those pods (root password ?) Kudos for great work done ! thanks