How to copy files from kubernetes Pods to local system

后端 未结 10 1635
暖寄归人
暖寄归人 2020-12-24 10:22

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         


        
10条回答
  •  无人及你
    2020-12-24 11:11

    Kubernetes gives a file not found error when user does not have permissions to a pod. That was my problem.

提交回复
热议问题