We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
노드 IP주소 조회(jq설치 필요)
kubectl get nodes -o json | jq -r '.items[].status.addresses[] | select(.type=="InternalIP") | .address'
노드 정보 json, yaml형식으로 출력해서 vim 편집기로 보기
kubectl get nodes -o json | vim -c 'set ft=json' - kubectl get nodes -o yaml | vim -c 'set ft=yaml' -