Uninstall OneAgent from OpenShift Container Platform

Read below how to uninstall OneAgent from OpenShift Container platform.

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

$ oc delete -n dynatrace oneagent --all
$ oc delete -f https://raw.githubusercontent.com/Dynatrace/dynatrace-oneagent-operator/master/deploy/openshift.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.