检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ccictl config delete-context Scenario Delete a specified context from cliconfig. ccictl config delete-context NAME Examples # Delete the context for the example-context cluster. ccictl config delete-context example-context Options -h, --help Help information for delete-context The
ccictl config delete-cluster Scenario Delete a specified cluster from cliconfig. ccictl config delete-cluster NAME Examples # Delete the example-cluster cluster. ccictl config delete-cluster example-cluster Options -h, --help Help information for delete-cluster The following ccictl
ccictl config delete-user Scenario Delete a specified user from cliconfig. ccictl config delete-user NAME Examples # Delete user user1. ccictl config delete-user user1 Options -h, --help Help information for delete-user The following ccictl options can also be used in subcommands:
# Delete the pods and Services named baz and foo. ccictl delete pod,service baz foo # Delete the pod and Service with the name=myLabel label. ccictl delete pods,services -l name=myLabel # Delete a pod with the minimum delay. ccictl delete pod foo --now # Forcibly delete a pod
Command Line Tool (ccictl) ccictl Overview ccictl ccictl create ccictl set ccictl explain ccictl get ccictl edit ccictl delete ccictl rollout ccictl describe ccictl logs ccictl exec ccictl apply ccictl api-resources ccictl api-versions ccictl config ccictl version Parent topic: Using
EnsuringLoadBalancer delete failed - Failed to delete the Service. DeleteLoadBalancerFailed delete succeeded - The Service is deleted. DeletedLoadBalancer delete processing - The Service is being deleted.
The following method can be used if you need to assign permissions of the CCIFullAccess policy to a user but you want to prevent the user from deleting namespaces (cci:namespace:delete).
a PoolBinding. ccictl delete poolbindings -n $namespace $name Table 1 Key parameter descriptions Parameter Description $namespace-name Namespace of the PoolBinding.
If there are pods running and you do not need them anymore, delete the pods.
delete plb -n $namespace $name Table 1 Key parameter descriptions Parameter Description $namespace-name Namespace of the PoolBinding.
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.
Use ccictl to clear resources. ccictl delete -f service.yaml ccictl delete -f pod.yaml ccictl delete namespace webapp
On the Namespaces page, locate the namespace you want to delete and click Delete in the Operation column. In the Delete Namespace dialog box, enter DELETE and click OK. To delete a VPC or subnet, go to the VPC console. Parent topic: Namespaces
Currently, ccictl supports only the following commands and resources: Supported commands: create, set, explain, get, edit, delete, rollout, describe, logs, exec, apply, api-resources, api-versions, config, version, and options The supported resources and commands are as follows: Command
Top up the account and then delete the resources.
Pay-per-Use Resources If a pay-per-use pod is no longer needed, you can delete it to stop billing.
Delete resource-gc-jobs. kubectl get job -nkube-system | grep "virtual-kubelet-.*-resource-gc-jobs" kubectl delete job -nkube-system xxx Delete namespace-gc-jobs. kubectl get job -nkube-system | grep "virtual-kubelet-.
network:delete Delete a network. cci:network:list List the networks. cci:network:get Query network details. cci:network:update Update a network. cci:pod:create Create a pod. cci:pod:delete Delete a pod. cci:pod:list List the pods. cci:pod:get Query pod details. cci:pod:update Update
specified in the pod.yaml file to delete a pod. ccictl delete -f pod.yaml # Delete all pods and Services with the <label-key>=<label-value> label. ccictl delete pods,services -l <label-key>=<label-value> # Delete all pods, including uninitialized pods. ccictl delete pods --all
To delete an image snapshot, click Delete in the Operation column. Parent topic: Image Snapshots