检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Renewing a Yearly/Monthly Cluster If a yearly/monthly cluster is not renewed after expiration, CCE will delete it. After the cluster is deleted, the nodes and running services within the cluster will be terminated.
The response should be hello world. # kubectl exec -it nginx-1 -- curl localhost hello world Delete the pod named nginx-1 and recheck the pods. A new pod with the same name (nginx-1) will be created.
To avoid incurring fees, delete the cluster and the related cloud service resources.
Description deleteVolume No String Whether to delete associated backend cloud storage volume after a PVC is deleted.
Default value: block delete_evs No String Details: Whether to delete an EVS disk Constraints: N/A Options: true or block: The system starts to delete the object. If the deletion fails, subsequent processes will be blocked. try: The system starts to delete the object.
Delete the subscribed endpoint on the Default Contact Groups tab (Alarm Center > Default Contact Groups). Figure 1 Deleting a contact group Why Are Alarms Still Sent After They Are Cleared? When an alarm is cleared, only the statistics on the Alarm Rules tab are cleared.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies cce:job:delete Write cluster * cce:ClusterId g:EnterpriseProjectId - - URI DELETE /api/v2/projects/{project_id}/jobs/{job_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies cce:release:delete Write cluster * cce:ClusterId g:EnterpriseProjectId - - URI DELETE /cce/cam/v3/clusters/{cluster_id}/namespace/{namespace}/releases/{name} Table 1 Path Parameters Parameter Mandatory
Delete: In the dialog box displayed, click Yes. Parent Topic: Workload Scaling
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies cce:chart:delete Write - - - - URI DELETE /v2/charts/{chart_id} Table 1 Path Parameters Parameter Mandatory Type Description chart_id Yes String Chart ID Request Parameters Table 2 Request header parameters
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies cce:accessPolicy:delete Write - - - - URI DELETE /api/v3/access-policies/{policy_id} Table 1 Path Parameters Parameter Mandatory Type Description policy_id Yes String Definition: Access policy ID.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies cce:addonInstance:delete Write cluster * cce:ClusterId g:EnterpriseProjectId - - URI DELETE /api/v3/addons/{id} Table 1 Path Parameters Parameter Mandatory Type Description id Yes String Add-on instance
Deleting a Workload/Job You can delete a workload or job that is no longer needed. Deleted workloads or jobs cannot be recovered. This section uses a Deployment as an example to describe how to delete a workload.
Figure 2 Deleting a node scaling policy In the Delete Node Scaling Policy dialog box displayed, confirm whether to delete the policy. Click Yes to delete the policy. Editing a Node Scaling Policy Log in to the CCE console and click the cluster name to access the cluster console.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies cce:node:delete Write cluster * g:EnterpriseProjectId - - URI DELETE /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes/{node_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies cce:nodepool:delete Write cluster * g:EnterpriseProjectId - - URI DELETE /api/v3/projects/{project_id}/clusters/{cluster_id}/nodepools/{nodepool_id} Table 1 Path Parameters Parameter Mandatory Type Description
You need to manually delete these resources first. After the residual resources are deleted, you need to delete the chart instance. For a Helm v2 chart release, query the ConfigMap corresponding to the chart release in the kube-system namespace.
For details, see Force Delete StatefulSet Pods.
For details, see Force Delete StatefulSet Pods.
Delete the residual EVS disk-related resources from the cluster based on the preceding information. Deleted data cannot be restored. Exercise caution when performing this operation.