官网文档
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#cp
例如将主机上的index.html文件拷贝到pod容器中替换nginx首页显示
`kubectl cp ./index.html -n test test-pod:/usr/share/nginx/html/`
标签:容器,kubectl,主机,html,pod,拷贝到
From: https://www.cnblogs.com/bangbangzoutianya/p/16835673.html