에이전트 삭제
쿠버네티스 에이전트 삭제
에이전트 설치 단계에서 다운로드한 쿠버네티스 버전과 Container Runtime에 맞는 YAML 파일명을 확인하고 절차에 따라 쿠버네티스 에이전트 삭제 과정을 진행하세요.
쿠버네티스 에이전트 YAML 파일명
Docker | YAML 파일명 |
---|---|
쿠버네티스 버전 1.16 이상 | whatap_kube_1.16.yaml |
쿠버네티스 버전 1.16 이상(GPU 버전) | whatap_kube_1.16_gpu.yaml |
쿠버네티스 버전 1.16 미만 | whatap_kube.yaml |
쿠버네티스 버전 1.16 미만(GPU 버전) | whatap_kube_gpu.yaml |
Containerd | YAML 파일명 |
---|---|
쿠버네티스 버전 1.16 이상 | whatap_kube_containerd_1.16.yaml |
쿠버네티스 버전 1.16 이상(GPU 버전) | whatap_kube_containerd_1.16_gpu.yaml |
쿠버네티스 버전 1.16 미만 | whatap_kube_containerd.yaml |
쿠버네티스 버전 1.16 미만(GPU 버전) | whatap_kube_containerd_gpu.yaml |
CRIO YAML | 파일명 |
---|---|
쿠버네티스 버전 1.16 이상 | whatap_kube_crio_1.16.yaml |
쿠버네티스 버전 1.16 이상(GPU 버전) | whatap_kube_crio_1.16_gpu.yaml |
쿠버네티스 버전 1.16 미만 | whatap_kube_crio.yaml |
쿠버네티스 버전 1.16 미만(GPU 버전) | whatap_kube_crio_gpu.yaml |
YAML 파일이 있을 경우
-
설치 단계에서 다운로드한 YAML 파일명으로 설치된 쿠버네티스 에이전트를 삭제합니다. 다음 명령어의 표기 부분을 사용자의 YAML 파일명으로 수정 후 실행하세요.
kubectl delete -f < 사용자의 YAML 파일명 >
-
쿠버네티스 에이전트 삭제가 정상적으로 완료되었을 경우 다음과 같은 메시지를 확인할 수 있습니다.
namespace "whatap-monitoring" deleted
serviceaccount "whatap" deleted
clusterrole.rbac.authorization.k8s.io "whatap" deleted
configmap "node-start-script" deleted
clusterrolebinding.rbac.authorization.k8s.io "whatap" deleted
daemonset.apps "whatap-node-agent" deleted
configmap "master-start-script" deleted
deployment.apps "whatap-master-agent" deleted
service "whatap-master-agent" deleted