1.3. Enabling the Developer perspective in the web console
Starting with OpenShift Container Platform 4.19, the perspectives in the web console have unified. There is no longer a Developer perspective by default; however, cluster administrators can enable the Developer perspective for developers to use.
You can enable the Developer perspective with the following steps:
Prerequisites
-
You have access to the web console as a user with
cluster-adminprivileges.
Procedure
-
Navigate to the Cluster Settings page by clicking Administration
Cluster Settings. - Select the Configuration tab on the Cluster Settings page.
-
Type
consolein the search to locate the Console Operator resource and selectoperator.openshift.io. - On the Cluster Details page, click the Actions menu and select Customize.
- In the General tab, locate the Perspectives section. You can enable or disable the Developer perspective as needed. Changes are automatically applied.
Optional: You can enable the Developer perspective with the CLI by running the following command:
$ oc patch console.operator.openshift.io/cluster --type='merge' -p '{"spec":{"customization":{"perspectives":[{"id":"dev","visibility":{"state":"Enabled"}}]}}}'注意It will take some time for the change to reflect in the web console as the console pod restarts.