You can remove the Run Once Duration Override Operator from OpenShift Container Platform by uninstalling the Operator and removing its related resources.
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-admin
privileges.
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 Operators → Installed Operators.
Select openshift-run-once-duration-override-operator
from the Project dropdown list.
Delete the RunOnceDurationOverride
instance.
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 Operator.
Navigate to Operators → 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.
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-admin
privileges.
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 RunOnceDurationOverride
in 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-operator
namespace.
Navigate to Administration → Namespaces.
Enter openshift-run-once-duration-override-operator
into 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-operator
and 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.