检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Locate the target policy instance and click Edit or Delete in the Operation column to modify related parameters or delete the policy instance.
Ctrl + ] Delete the VM and its associated DataVolume. kubectl delete vm testvm Parent topic: Hybrid Management of VMs and Containers
Modify or delete the two scaling policies. For details, see Managing a FederatedHPA and Managing a CronFederatedHPA. Parent topic: Multi-Cluster Workload Scaling
Manually delete the on-premises cluster. Copy the uninstallation command returned by the console. Run the uninstallation command on the node in the on-premises cluster. ./ucs-ctl delete cluster cluster_name Replace cluster_name with the actual cluster name.
Scenario If the execution of the ucs-ctl delete cluster and ucs-ctl delete node commands fails on the on-premises cluster, you need to manually clear the node by referring to this section. Procedure Obtain the node clearing script from the installed node.
the uninstallation command to delete the cluster from the local host and clear resources: .
To solve this problem, run the following command in the cluster to delete the corresponding policy: kubectl delete constraint --all After the preceding problems are resolved, check the status of proxy-agent again. All pods should now be in the Running state.
the uninstallation command to delete the cluster from the local host and clear resources: .
ucs:addons:update Updating an add-on instance ucs:ciaInstanceEndpoints:create Creating a network access point for a Container Intelligent Analysis instance ucs:addonTemplates:delete Deleting an add-on template ucs:clusters:delete Deleting a cluster ucs:permissionsRules:delete Deleting
/ucs-ctl kcm update-cert {cluster_name} --mode tls If you need to update the certificate again, delete the file in the certificate directory and then update the certificate.
a VM and its associated resources: kubectl delete -f "https://kubevirt.io/labs/manifests/vm.yaml" Example output: virtualmachine.kubevirt.io "testvm" deleted Parent topic: Hybrid Management of VMs and Containers
Figure 3 Obtaining the access key When you are using a UCS on AWS cluster, do not rotate, disable, or delete the access key before the cluster is deleted. Otherwise, subsequent cluster update and deletion operations will be affected. Parent topic: Multi-Cloud Clusters
Run the following commands to clear residual resources: alias kubectl='kubectl --kubeconfig=/tmp/kubeconfig' kubectl delete clusterrolebinding `kubectl get clusterrolebinding |grep karmada-controller-manager | awk '{print $1}'` kubectl delete clusterrole `kubectl get clusterrole |
Deleting a secret Click Delete in the row where the target secret resides. Delete the secret as prompted. Deleting secrets in batches Select the secrets to be deleted. Click Delete in the upper left corner. Delete the secret as prompted.
You can use this label to query and delete the created RBAC resources. Examples: Parent topic: Permissions
In this case, you need to delete the created MCS and create another one with the correct configuration. Parent topic: Cluster Federation
Run the following command to clear residual resources: kubectl delete namespace gatekeeper-system Parent topic: Policy Center
Troubleshooting Uninstall the self-built Prometheus add-on and delete the corresponding resources based on the resource name, resource type, and namespace after "continue with install" in the error message. Parent topic: O&M
Deleting a ConfigMap Choose More > Delete in the row where the target ConfigMap resides, and click Yes. Deleting ConfigMaps in batches Select the ConfigMaps to be deleted. Click Delete in the upper left corner. Click Yes. Parent topic: ConfigMaps and Secrets
- If the cluster exists in the federation, run the kubectl edit cluster clusterName command to edit the YAML file and delete the finalizers field.