2.6. SiteConfig Operator를 사용하여 단일 노드 OpenShift 클러스터 프로비저닝 해제
SiteConfig operator로 클러스터를 프로비저닝 해제하여 해당 클러스터와 연결된 모든 리소스 및 액세스를 삭제합니다.
필수 액세스: 클러스터 관리자
2.6.1. 사전 요구 사항 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
- 기본 설치 템플릿을 사용하여 SiteConfig Operator로 클러스터를 배포합니다.
2.6.2. 단일 노드 OpenShift 클러스터 프로비저닝 해제 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
클러스터를 삭제하려면 다음 단계를 완료합니다.
다음 명령을 실행하여
ClusterInstance사용자 정의 리소스를 삭제합니다.oc delete clusterinstance <cluster_name> -n <target_namespace>
oc delete clusterinstance <cluster_name> -n <target_namespace>Copy to Clipboard Copied! Toggle word wrap Toggle overflow 다음 명령을 실행하여 삭제에 성공했는지 확인합니다.
oc get clusterinstance <cluster_name> -n <target_namespace>
oc get clusterinstance <cluster_name> -n <target_namespace>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
(NotFound) 오류가 클러스터가 프로비저닝 해제되었음을 나타내는 다음 예제 출력을 참조하십시오.
Error from server (NotFound): clusterinstances.siteconfig.open-cluster-management.io "<cluster_name>" not found
Error from server (NotFound): clusterinstances.siteconfig.open-cluster-management.io "<cluster_name>" not found