compliance.tf
Google Cloud Compliance ControlsGoogle Kubernetes Engine

GKE clusters should have resource labels

This control ensures that GKE clusters have resource labels. Kubernetes Clusters must be configured with labels, which means the attribute `resource_labels` must be defined. Labels make it easier to manage assets.

What this control checks

GKE clusters must define resource_labels

Tool mappings

Use these identifiers to cross-reference this control across tools, reports, and evidence.

  • Compliance.tf Control: kubernetes_cluster_with_resource_labels
  • Checkov Check: CKV_GCP_21
  • Powerpipe Control: gcp_compliance.control.kubernetes_cluster_with_resource_labels
  • KICS Query: 65c1bc7a-4835-4ac4-a2b6-13d310b0648d
  • Trivy Check: GCP-0051

Last reviewed: 2026-10-09

View all Google Cloud controls →

On this page

Ask AI about this

Help improve this page