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 desk oneagent --all
$ oc delete -f https://raw.githubusercontent.com/DESK/desk-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.
To uninstall DESK OneAgent from each node of an OpenShift cluster:
Select the project that runs the desk-oneagent
DaemonSet:
$ oc project openshift-infra
Delete the desk-oneagent
DaemonSet:
$ oc delete ds/desk-oneagent
(Optional) After you delete the desk-oneagent
DaemonSet, the OneAgent files 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.