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.4.2. 使用 CLI 删除 OpenShift Update Service 应用程序
					您可以使用 OpenShift CLI(oc)删除 OpenShift Update Service 应用。
				
流程
使用 OpenShift Update Service 应用程序在其中创建的命名空间获取 OpenShift Update Service 应用程序的名称,如
openshift-update-service:oc get updateservice -n openshift-update-service
$ oc get updateservice -n openshift-update-serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow 输出示例
NAME AGE service 6s
NAME AGE service 6sCopy to Clipboard Copied! Toggle word wrap Toggle overflow 使用上一步中的
NAME值以及 OpenShift Update Service 应用程序创建命名空间删除 OpenShift Update Service 应用程序,如openshift-update-service:oc delete updateservice service -n openshift-update-service
$ oc delete updateservice service -n openshift-update-serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow 输出示例
updateservice.updateservice.operator.openshift.io "service" deleted
updateservice.updateservice.operator.openshift.io "service" deletedCopy to Clipboard Copied! Toggle word wrap Toggle overflow