1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
= Enabling override Operators
To verify {prod} can run on a typical notebook, some resource-heavy services get disabled by default.
These services can be enabled by manually removing the desired Operator from the Operator override list.
.Prerequisites
* A running {prod} virtual machine and a working [command]`oc` command.
For more information, see link:{crc-gsg-url}#accessing-the-openshift-cluster-with-oc_gsg[Accessing the OpenShift cluster with `oc`].
* You must log in through [command]`oc` as the `kubeadmin` user.
.Procedure
. List unmanaged Operators and note the numeric index for the desired Operator:
** On Linux or {mac}:
+
[subs="+quotes"]
----
$ oc get clusterversion version -ojsonpath='{range .spec.overrides[*]}{.name}{"\n"}{end}' | nl -v 0
----
** On {msw} using PowerShell:
+
[subs="+quotes"]
----
PS> oc get clusterversion version -ojsonpath='{range .spec.overrides[*]}{.name}{"\n"}{end}' | % {$nl++;"`t$($nl-1) `t $_"};$nl=0
----
. Start the desired Operator using the identified numeric index:
+
[subs="+quotes"]
----
$ oc patch clusterversion/version --type='json' -p '[{"op":"remove", "path":"/spec/overrides/_<unmanaged-operator-index>_"}]'
clusterversion.config.openshift.io/version patched
----
|