Uninstalling the Run Once Duration Override Operator
You can remove the Run Once Duration Override Operator from OpenShift Container Platform by uninstalling the Operator and deleting its related resources, such as custom resource definitions, the namespace, and configuration labels.
Uninstall the Run Once Duration Override Operator
Uninstall the Run Once Duration Override Operator from the web console to stop applying activeDeadlineSeconds overrides to future run-once pods without affecting existing pod configurations.
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.
Prerequisites
- 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.
Procedure
- 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.
Uninstall Run Once Duration Override Operator resources
Optionally, after uninstalling the Run Once Duration Override Operator, you can clean up remaining resources by deleting custom resource definitions, the operator namespace, and namespace labels.
Prerequisites
- 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.
Procedure
- 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.