Posted by Little Star Blog on Monday, January 1, 0001

kubectl -n xxx get pods | grep Running | awk ‘{print $1}’ | xargs -r -I ‘{}’ kubectl -n xxx get pods {} -o=jsonpath=’{.status.containerStatuses[0].image}{"\n"}’ | sort


昵称
邮箱
网址
0/500
0 条评论