The Web UI Dashboard should be disabled

Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tiene alguna pregunta o comentario sobre nuestro proyecto de traducción actual, ¡no dude en contactarnos!

WARNING: This rule is being deprecated on 23 November 2026.

  • Google removed the managed Kubernetes Dashboard add-on in GKE 1.15, so this rule no longer applies to supported GKE versions.
  • This rule evaluates only the managed add-on setting and does not detect manually installed Kubernetes Dashboard workloads.

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