kubectl get deploy

牧之丨發表於2024-06-27
for i in `kubectl get deployments.apps -n nvpc-apps-02|grep -v NAME|awk '{print $1}'`;
do kubectl get deploy -n nvpc-apps-02 $i -o yaml|grep "cpu: " &> /dev/null||echo $i;
done

相關文章