kubernetes 获取deployment在使用的镜像(不全)
摘要:
for i in `kubectl get deployments.apps | awk 'NR>1{print $1}'`;do kubectl get deployment $i -o jsonpath="{.spec.template.spec.containers[0].image}" ; 阅读全文
posted @ 2021-02-22 20:06 __director 阅读(630) 评论(0) 推荐(0) 编辑