This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.Chapter 7. Disabling the web console in OpenShift Container Platform
You can disable the OpenShift Container Platform web console.
7.1. Prerequisites
- Deploy an OpenShift Container Platform cluster.
7.2. Disabling the web console
You can disable the web console by editing the consoles.operator.openshift.io
resource.
Edit the
consoles.operator.openshift.io
resource:Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc edit consoles.operator.openshift.io cluster
$ oc edit consoles.operator.openshift.io cluster
The following example displays the parameters from this resource that you can modify:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow apiVersion: config.openshift.io/v1 kind: Console metadata: name: cluster spec: managementState: Removed
apiVersion: config.openshift.io/v1 kind: Console metadata: name: cluster spec: managementState: Removed
1 - 1
- Set the
managementState
parameter value toRemoved
to disable the web console. The other valid values for this parameter areManaged
, which enables the console under the cluster’s control, andUnmanaged
, which means that you are taking control of web console management.