
클러스터를 구성하는 각 노드의 기본적인 정보가 출력된다.
kubectl get nodes클러스터에 있는 모든 파드의 목록을 출력한다.
kubectl get pods파드에 대한 기본적인 정보를 확인한다.
kubectl get pod [podName]네트워크 상세 정보 중 특정한 항목을 따로 지정해서 출력한다.
kubectl get pod [podName] --output custom-columns=NAME:metadata.name,NODE_IP:status.hostIP,POD_IP:status.podIPkubectl get pod [podName] -o jsonpath='{.status.containerStatuses[0].containerID}'kubectl get pod -l app=[appName] --output  jsonpath='{.items[0].status.podIP}'kubectl get svc [appName]kubectl describe pod [appName]kubectl run [containerName] --image=[imageName]kubectl wait --for=Ready pod -l app=[appName]kubectl exec deploy/sleep-1 -- ping -c 2 $(kc get pod -l app=sleep-2 --output jsonpath='{.items[0].status.podIP}')kubectl delete pods -l app=[appName]kubectl delete pods --allkubectl delete deploy --allkubectl delete svc [serviceName]kubectl apply -f [.yaml]