Uninstalling the {run-once-operator}
You can remove the Run Once Duration Override Operator from OpenShift Container Platform by uninstalling the Operator and removing its related resources.
Important
The Run Once Duration Override Operator is not currently available for OpenShift Container Platform 4.19. The Operator is planned to be released in the near future.
Uninstalling the Run Once Duration Override Operator
You can use the web console to uninstall the Run Once Duration Override Operator. Uninstalling the Run Once Duration Override Operator does not unset the activeDeadlineSeconds field for run-once pods, but it will no longer apply the override value to future run-once pods.
-
You have access to the cluster with
cluster-adminprivileges. -
You have access to the OpenShift Container Platform web console.
-
You have installed the Run Once Duration Override Operator.
-
Log in to the OpenShift Container Platform web console.
-
Navigate to Ecosystem → Installed Operators.
-
Select
openshift-run-once-duration-override-operatorfrom the Project dropdown list. -
Delete the
RunOnceDurationOverrideinstance.-
Click Run Once Duration Override Operator and select the Run Once Duration Override tab.
-
Click the Options menu
next to the cluster entry and select Delete RunOnceDurationOverride.
-
In the confirmation dialog, click Delete.
-
-
Uninstall the Run Once Duration Override Operator.
-
Navigate to Ecosystem → Installed Operators.
-
Click the Options menu
next to the Run Once Duration Override Operator entry and click Uninstall Operator.
-
In the confirmation dialog, click Uninstall.
-
Uninstalling Run Once Duration Override Operator resources
Optionally, after uninstalling the Run Once Duration Override Operator, you can remove its related resources from your cluster.
-
You have access to the cluster with
cluster-adminprivileges. -
You have access to the OpenShift Container Platform web console.
-
You have uninstalled the Run Once Duration Override Operator.
-
Log in to the OpenShift Container Platform web console.
-
Remove CRDs that were created when the Run Once Duration Override Operator was installed:
-
Navigate to Administration → CustomResourceDefinitions.
-
Enter
RunOnceDurationOverridein the Name field to filter the CRDs. -
Click the Options menu
next to the RunOnceDurationOverride CRD and select Delete CustomResourceDefinition.
-
In the confirmation dialog, click Delete.
-
-
Delete the
openshift-run-once-duration-override-operatornamespace.-
Navigate to Administration → Namespaces.
-
Enter
openshift-run-once-duration-override-operatorinto the filter box. -
Click the Options menu
next to the openshift-run-once-duration-override-operator entry and select Delete Namespace.
-
In the confirmation dialog, enter
openshift-run-once-duration-override-operatorand click Delete.
-
-
Remove the run-once duration override label from the namespaces that it was enabled on.
-
Navigate to Administration → Namespaces.
-
Select your namespace.
-
Click Edit next to the Labels field.
-
Remove the runoncedurationoverrides.admission.runoncedurationoverride.openshift.io/enabled=true label and click Save.
-