The Web UI Dashboard should be disabled

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

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