kubernetes cluster, context, user의 정보 → kubectl config view
컨텍스트 확인 → kubectl config get-contexts
컨텍스트 변경 → kubectl config use-context {context_name}
cluster 삭제 → kubectl config unset clusters.{cluster_name}
context 삭제 → kubectl config unset contexts.{context_name}
user 삭제 → kubectl config unset users.{user_name}
노드 상태 보기 → kubectl get nodes
pod 삭제 → kubectl delete pod {pod_name}
모든 오브젝트 보기 → kubectl get all
deployment 상태 → kubectl describe deployment {deployment_name}
replicaset 상태 → kubectl describe replicaset {replicaset_name}
pod 상태 → kubectl describe pod {pod_name}
deployment 삭제 → kubectl delete deployment {deployment_name}
kubectl EKS 연결 → aws eks --region ap-northeast-2 update-kubeconfig --name Bcheck-EKS-Cluster
pod restart → kubectl rollout restart deployment {deployment_name}
service restart → kubectl get svc {service_name} -n {namespace} -o yaml | kubectl replace --force -f-
pod 강제 제거 → kubectl -n {namespace_name} delete pods --grace-period=0 --force {pod_name}