The Web UI Dashboard should be disabled

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Description

The Web UI dashboard should be disabled since it is historically a good source of vulnerabilities for a cluster.

Note: The Kubernetes web UI (Dashboard) does not have admin access by default in GKE 1.7 and higher. The Kubernetes web UI is disabled by default in GKE 1.10 and higher. In GKE 1.15 and higher, the Kubernetes web UI add-on KubernetesDashboard is no longer supported as a managed add-on.

Remediation

From the commandline

  1. To disable the Kubernetes Dashboard on an existing cluster, run the following command:

    gcloud container clusters update <cluster_name> --zone <zone> --update-
    addons=KubernetesDashboard=DISABLED