摘要: #!/bin/sh pods=`kubectl get pods -n prod |grep $1|awk '{print \$1}'` for pod in $pods do echo $pod; kubectl exec -it --tty -n prod $pod -- cat /sys/fs 阅读全文
posted @ 2021-11-29 09:57 缺个好听的昵称 阅读(35) 评论(0) 推荐(0) 编辑