Uninstall OneAgent from Kubernetes

Read below how to uninstall OneAgent from Kubernetes.

Remove OneAgent custom resources and clean-up all remaining OneAgent Operator specific objects.

$ kubectl delete -n desk oneagent --all
$ kubectl delete -f https://raw.githubusercontent.com/DESK/desk-oneagent-operator/master/deploy/kubernetes.yaml

(Optional) After you delete OneAgent Operator, the OneAgent binary remains on the node in an inactive state. To uninstall it completely, execute the uninstall.sh script and delete logs and configuration files. See Linux related information.