Disabling the web console in OKD

You can disable the OKD web console.

Prerequisites

  • Deploy an OKD cluster.

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:

    1. $ oc edit consoles.operator.openshift.io cluster

    The following example displays the parameters from this resource that you can modify:

    1. apiVersion: config.openshift.io/v1
    2. kind: Console
    3. metadata:
    4. name: cluster
    5. spec:
    6. managementState: Removed (1)
    1Set the managementState parameter value to Removed to disable the web console. The other valid values for this parameter are Managed, which enables the console under the cluster’s control, and Unmanaged, which means that you are taking control of web console management.