Certified Kubernetes Administrator (CKA) with Practice Tests (강의 링크, 레퍼런스 노트)
kubectl get podskubectl get pods -o jsonkubectl get pods -o=jsonpath='{.items[0].spec.containers[0].image}'kubectl get nodes -o=jsonpath='{.items[*].metadata.name}{"\n"}{.items[*].status.capacity.cpu}'kubectl get nodes -o=jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.status.capacity.cpu}{"\n"}{end}'kubectl get nodes -o=custom-columns=[컬럼명]:[JSON PATH] 사용할 수도 있음kubectl get nodes -o=custom-columns=NODE:.metadata.name,CPU:.status.capacity.cpu