Disabling or Enabling the Kubernetes Web Terminal

As a Platform Administrator, you can enable or disable user access to the Kubernetes Web terminal. The Kubernetes Web Terminal is not available in HPE Ezmeral Runtime Enterprise Essentials.

Prerequisites

Required Access Rights: Platform Administrator

About this task

The Kubernetes Web Terminal is accessible from the HPE Ezmeral Runtime Enterprise Web UI by default. Disabling the Web Terminal removes the Kubernetes Web terminal button from the HPE Ezmeral Runtime Enterprise Web UI. The DISABLE_WEBTERM setting is a global setting that applies to all Kubernetes clusters and to all users.

Procedure

  1. Execute the following command on the Controller host:
    vi /usr/share/bdswebui/bdswebui/settings.py
  2. Do one of the following:
    • To disable user access to the Kubernetes Web terminal, change the value of DISABLE_WEBTERM to True.
      'DISABLE_WEBTERM' : True,
    • To enable user access to the Kubernetes Web terminal, change the value of DISABLE_WEBTERM to False.
      'DISABLE_WEBTERM' : False,
  3. Save and close the file.
  4. Restart the httpd service by executing the following command:
    systemctl restart httpd.service
  5. If platform HA is enabled, then repeat this procedure on the Shadow Controller host.