gcloud container fleet policycontroller update [--all-memberships | [--memberships=[MEMBERSHIPS,…] : --location=LOCATION] --origin=ORIGIN | --audit-interval=AUDIT_INTERVAL --constraint-violation-limit=CONSTRAINT_VIOLATION_LIMIT --version=VERSION --clear-exemptable-namespaces | --exemptable-namespaces=EXEMPTABLE_NAMESPACES --log-denies | --no-log-denies --monitoring=MONITORING | --no-monitoring --mutation | --no-mutation --referential-rules | --no-referential-rules] [GCLOUD_WIDE_FLAG …]
gcloud container fleet policycontroller update --version=VERSIONTo modify the audit interval to 120 seconds, run:
gcloud container fleet policycontroller update --audit-interval=120--all-membershipsproject attribute:
--memberships on the command line with a fully
specified name;
--project on the command line;
core/project.
--memberships=[MEMBERSHIPS,…]
To set the memberships attribute:
--memberships on the command line.
--location=LOCATIONlocation attribute:
--memberships on the command line with a fully
specified name;
--location on the command line;
gkehub/location.
--origin=ORIGINORIGIN must be (only one value is supported):
FLEET.
Or at least one of these can be specified:
--audit-interval=AUDIT_INTERVAL--constraint-violation-limit=CONSTRAINT_VIOLATION_LIMIT--version=VERSION--clear-exemptable-namespaces--exemptable-namespaces=EXEMPTABLE_NAMESPACES--log-denies--no-log-denies--monitoring=MONITORING--no-monitoring--mutation--no-mutation--referential-rules--no-referential-rules--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
gcloud alpha container fleet policycontroller updategcloud beta container fleet policycontroller update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.