I\'m trying to copy files from Kubernetes Pods to my local system. I am getting the below error while running following command:
kubectl cp aks-ssh2-6cd4948
Kubernetes gives a file not found error when user does not have permissions to a pod. That was my problem.