This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.3.5.2. CLI를 사용하여 OpenShift Update Service Operator 설치 제거
OpenShift CLI(oc
)를 사용하여 OpenShift Update Service Operator를 제거할 수 있습니다.
사전 요구 사항
- 모든 OpenShift Update Service 애플리케이션이 삭제되어 있어야 합니다.
프로세스
OpenShift Update Service Operator가 포함된 프로젝트로 변경합니다(예:
openshift-update-service
).oc project openshift-update-service
$ oc project openshift-update-service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
Now using project "openshift-update-service" on server "https://example.com:6443".
Now using project "openshift-update-service" on server "https://example.com:6443".
Copy to Clipboard Copied! Toggle word wrap Toggle overflow OpenShift Update Service Operator Operator 그룹의 이름을 가져옵니다.
oc get operatorgroup
$ oc get operatorgroup
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
NAME AGE openshift-update-service-fprx2 4m41s
NAME AGE openshift-update-service-fprx2 4m41s
Copy to Clipboard Copied! Toggle word wrap Toggle overflow operator 그룹을 삭제합니다(예:
openshift-update-service-fprx2
).oc delete operatorgroup openshift-update-service-fprx2
$ oc delete operatorgroup openshift-update-service-fprx2
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
operatorgroup.operators.coreos.com "openshift-update-service-fprx2" deleted
operatorgroup.operators.coreos.com "openshift-update-service-fprx2" deleted
Copy to Clipboard Copied! Toggle word wrap Toggle overflow OpenShift Update Service Operator 서브스크립션의 이름을 가져옵니다.
oc get subscription
$ oc get subscription
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
NAME PACKAGE SOURCE CHANNEL update-service-operator update-service-operator updateservice-index-catalog v1
NAME PACKAGE SOURCE CHANNEL update-service-operator update-service-operator updateservice-index-catalog v1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 이전 단계의
Name
값을 사용하여currentCSV
필드에서 구독한 OpenShift Update Service Operator의 현재 버전을 확인합니다.oc get subscription update-service-operator -o yaml | grep " currentCSV"
$ oc get subscription update-service-operator -o yaml | grep " currentCSV"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
currentCSV: update-service-operator.v0.0.1
currentCSV: update-service-operator.v0.0.1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 서브스크립션을 삭제합니다(예:
update-service-operator
).oc delete subscription update-service-operator
$ oc delete subscription update-service-operator
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
subscription.operators.coreos.com "update-service-operator" deleted
subscription.operators.coreos.com "update-service-operator" deleted
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 이전 단계의
currentCSV
값을 사용하여 OpenShift Update Service Operator의 CSV를 삭제합니다.oc delete clusterserviceversion update-service-operator.v0.0.1
$ oc delete clusterserviceversion update-service-operator.v0.0.1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 출력 예
clusterserviceversion.operators.coreos.com "update-service-operator.v0.0.1" deleted
clusterserviceversion.operators.coreos.com "update-service-operator.v0.0.1" deleted
Copy to Clipboard Copied! Toggle word wrap Toggle overflow