gcloud run instances deploy configures HTTP/2
Introduced 2026-09-29 · score 0.95
HOW TO USE IT
To configure HTTP/2 for a Cloud Run instance, deploy it with `--use-http2` to enable HTTP/2 or `--no-use-http2` to disable it.
gcloud alpha run instances deploy <INSTANCE> --image=<IMAGE> --use-http2gcloud alpha run instances deploy <INSTANCE> --image=<IMAGE> --no-use-http2WHY THIS HELPS
Configure whether a deployed Cloud Run instance uses HTTP/2 connections.
REQUIREMENTS AND LIMITATIONS
- INSTANCE: Instance ID or fully qualified instance identifier.
- --image: Container image to deploy.
- --use-http2: Enable HTTP/2 connections to the instance.
- --no-use-http2: Disable HTTP/2 connections to the instance. The two flag forms are mutually exclusive.
- Prerequisite: The documented command is `gcloud alpha run instances deploy`; the reference labels it alpha and notes it may change without notice.
FIRST-PARTY EVIDENCE
- https://docs.cloud.google.com/sdk/docs/release-notes#58700_2026-09-29
- https://docs.cloud.google.com/sdk/gcloud/reference/alpha/run/instances/deploy
Check the installed version and the source before using it. Entry JSON