You can execute commands in a container using kubectl exec
command.
For example:
to check files in any folder:
kubectl exec <pod_name> -- ls -la /
or to calculate md5sum
of any file:
kubectl exec <pod_name> -- md5sum /some_file
You can execute commands in a container using kubectl exec
command.
For example:
to check files in any folder:
kubectl exec <pod_name> -- ls -la /
or to calculate md5sum
of any file:
kubectl exec <pod_name> -- md5sum /some_file