Skip to main content

Uninstall

Deleting the Agent requires MutatingWebhookConfiguration, ClusterRoleBinding, and ClusterRole permissions.

Please make sure that there are no error-level messages during the execution process. If permissions are insufficient, please contact the Kubernetes cluster administrator for operation.

Delete using the yaml file used for Agent installation.

kubectl delete -f tingyunagent.yaml

# Delete the Namespace where the Tingyun Agent is located and all resources under it
# If this Namespace is not exclusively used by the Tingyun Agent, please ensure safety before deleting this Namespace
kubectl delete namespace tingyun

Command Method​

If the yaml file used for installation has been lost, use the following commands to delete.

kubectl delete MutatingWebhookConfiguration tingyun-agent-webhook
kubectl delete ClusterRoles tingyun-k8s-monitor
kubectl delete ClusterRoleBindings tingyun-k8s-monitor

# Delete the Namespace where the Tingyun Agent is located and all resources under it
# If this Namespace is not exclusively used by the Tingyun Agent, please ensure safety before deleting this Namespace
kubectl delete namespace tingyun