1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/web-console-disable.adoc
2025-12-23 21:00:36 +00:00

37 lines
1002 B
Plaintext

// Module included in the following assemblies:
//
// * web_console/disabling-web-console.adoc
:_mod-docs-content-type: PROCEDURE
[id="web-console-disable_{context}"]
= Disabling the web console
[role="_abstract"]
You can disable the web console by editing the `consoles.operator.openshift.io` resource.
.Procedure
* Edit the `consoles.operator.openshift.io` resource:
+
[source,terminal]
----
$ oc edit consoles.operator.openshift.io cluster
----
+
The following example displays the parameters from this resource that you can
modify:
+
[source,yaml]
----
apiVersion: operator.openshift.io/v1
kind: Console
metadata:
name: cluster
spec:
managementState: Removed
----
+
--
where:
`spec.managementState.Removed`:: Set 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.
--