sincecutoff.com
← all changes

gcloud container cluster commands accept KCP_VPA logging option

Introduced 2026-07-14 · score 0.90

HOW TO USE IT

When enabling VPA Decision Logs for a GKE cluster, include `KCP_VPA` in `--logging` when creating or updating it.

gcloud container clusters create <cluster-name> --logging=SYSTEM,KCP_VPA
gcloud container clusters create-auto <cluster-name> --logging=SYSTEM,WORKLOAD,KCP_VPA
gcloud container clusters update <cluster-name> --logging=SYSTEM,KCP_VPA

WHY THIS HELPS

Enable VPA Decision Logs when creating or updating a Kubernetes Engine cluster.

REQUIREMENTS AND LIMITATIONS

  • <cluster-name> (required): Cluster name positional argument.
  • --logging: Sets the components that have logging enabled; accepts a comma-separated component list.
  • KCP_VPA: Valid `--logging` component; added to enable VPA Decision Logs.
  • SYSTEM: Valid `--logging` component; required in the list when `--logging` is set for `create-auto`.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card