-
#한 개 pod 삭제
kubectl delete pods nginx
# 서비스 삭제
kubectl delete service my-service
#ReplicaSet 삭제
kubectl delete rs kubernetes-bootcamp-6f6656d949#ingress 삭제
kubectl delete ingress eks-21
쿠버네티스 로그 분석
kubectl logs nginx-service1-124124 -n kube-system
kubectl describe service nginx-servicekubectl get events --field-selector type=Warning
#조회
kubectl auth can-i --list --as=system:serviceaccount:default:eks-name:default
kubectl get events --field-selector type=Warning
kubectl describe sa aws-load-balancer-controller -n kube-system
kubectl describe ingress eks-deploy
#쿠버네티스 재시작
kubectl rollout restart deployment -n kube-system coredns'IT' 카테고리의 다른 글
Kubernetes Dashboard 설치 (0) 2020.07.01 kube-system kube-dns:dns 403 (0) 2020.07.01 error: unable to recognize "test-dep.yml": no matches for kind "Deployment" in version "extensions/v1" (0) 2020.06.29 대치동 반미362 (0) 2020.06.04 pop 수신 안될때 (0) 2020.06.04