useless use of awk
monotek opened this issue · 1 comments
monotek commented
k8s-day2-ops/kubelet/kubelet_check.sh
Line 15 in 80f8702
could be used without awk:
kubectl get nodes -o=jsonpath='{range .items[*]}{.metadata.name}{"\n"}'
or
k get nodes --no-headers -o custom-columns=NAME:.metadata.name
dguyhasnoname commented
script was updated