The Web UI Dashboard should be disabled

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

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