0
Q:

kubectl exec ls -lah

sudo kubectl -n <namespace> --context=<context-with-access> exec <pod-name> -it /bin/bash

ex:
sudo kubectl -n default --context=staging-devops exec microservice1-jd830k-880 -it /bin/bash
4
kubectl exec <pod_name> -- ls -la /
2

New to Communities?

Join the community