检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Users granted these permissions can create, delete, query, and update all CCI 2.0 resources. Perform the federated identity authentication as the delegated party. Log in to as the delegated party (account B) and perform federated identity authentication.
Bring the account current and then delete the resources.
To uninstall the add-on, run the following kubectl command and delete the APIService object first or the add-on cannot be installed due to residual APIService resources. kubectl delete APIService v1beta1.metrics.k8s.io Create an HPA policy. Log in to the CCE console.
set-credentials cluster-admin --client-certificate=~/.kubev2/admin.crt --embed-certs=true # Enable the IAM identity authentication provider for the cluster-admin entry. ccictl config set-credentials cluster-admin --auth-provider=iam --auth-provider-arg=iam-endpoint=example.com # Delete
Stopping Billing If you no longer need to use your cloud service, you can unsubscribe from or delete it to stop the billing. For details, see Stopping Billing.
Deleting an EIP with a Pod When you delete a pod, the EIP created with it is also deleted. You can run the following command to delete a pod using ccictl: # ccictl delete pod $pod_name -n $namespace_name Parent topic: Configuring an EIP for a Pod
Use ccictl to clear resources. ccictl delete -f service.yaml ccictl delete -f pod.yaml ccictl delete namespace webapp
Figure 1 Lifecycle of a pay-per-use pod Avoiding and Handling Arrears If the data stored in CCI is no longer used, you can delete it to avoid additional cost.
Delete the pod named web-demo-68f8fdfd98-6v96b. ccictl delete pod web-demo-68f8fdfd98-6v96b -n test-sfs-v1 The expected output is as follows: pod "web-demo-68f8fdfd98-6v96b" deleted After the deletion, the Deployment controller automatically creates a replica.
If a CCI namespace has been created in a shared VPC, the owner of the shared VPC cannot delete the resource share, or the namespace will work abnormally.
"false" or "ignore" will not perform any schema definition checks, but will silently delete all unknown or duplicate fields. --windows-line-endings The default value is the native line ending format of your platform.
Delete the pod named web-demo-7864446874-6d4lp. ccictl delete pod web-demo-7864446874-6d4lp -n test-obs-v1 The expected output is as follows: pod "web-demo-7864446874-6d4lp" deleted After the deletion, the Deployment controller automatically creates a replica.
"false" or "ignore" will not perform any schema definition checks, but will silently delete all unknown or duplicate fields. --windows-line-endings This option is related only when --edit is set to true. The default value is the native line end format of your platform.
"false" or "ignore" will not perform any schema definition checks, but will silently delete all unknown or duplicate fields. --windows-line-endings The default value is the native line end format of your platform.
Deleting a Pod You can manually delete pods. Because pods are controlled by a controller, a new pod will be created immediately after you delete a pod. Manual pod deletion is useful when an upgrade fails halfway or when service processes need to be restarted.
"false" or "ignore" will not perform any schema definition checks, but will silently delete all unknown or duplicate fields. --wait If the value is true, the resource is returned after it disappears. This waits for the finalizer.
You need to periodically review and delete expired image snapshots. .spec.imageSnapshotSize integer No 20 Image snapshot size, in GiB. The default value is 20. Parent topic: Image Snapshots
You can also delete pods if you no longer need them. Prerequisites A namespace has been created. If there are no namespaces, create one by referring to Creating a Namespace. The image has been uploaded. For details, see Pushing an Image Through a Container Engine Client.
Edit the config file and delete sensitive information. In a Linux OS, the config file is stored in $HOME/.kubev2/config by default.
Do not delete them. The following is an example: { "event": { "enable": true } } Table 3 Parameter description Parameter Type Description enable bool Whether to enable event reporting. true: Event reporting is enabled. false: Event reporting is disabled.