kubectl命令
作者:
小烧饼a | 来源:发表于
2021-03-16 18:32 被阅读0次
进入 pod查看
kubectl get pod -n nsp-go-u-dms01
sudo kubectl exec -it ph-channeladminservicedeployment3-65585956c4-lj6wd -n nsp-go-u-dms01 /bin/bash
cd /home/can_azago02uat02/logs/
bash-4.3# ls
glory_channeladminservice_debug.log glory_channeladminservice_error.log glory_channeladminservice_info.log
cat xxx.log | grep callAgentMasterApi
sudo kubectl cp -n nsp-go-u-dms01 ph-channeladminservicedeployment3-65585956c4-lj6wd:/home/can_azago02uat02/logs/glory_channeladminservice_info.log ./xxxx.log
本文标题:kubectl命令
本文链接:https://www.haomeiwen.com/subject/rbndcltx.html
网友评论