add configuration setting for forcing h2c #26799
Draft
+110
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When using Fleet on GCP via Cloud run you run into a limitation attempting to upload software packages
https://cloud.google.com/run/quotas#request_limits
Which means you can only upload packages that are <= 32 MiB.
However, if using HTTP/2 there is no limit. Typically HTTP/2 is only enabled in the Go webserver if using TLS, but we can force HTTP/2 via H2C and the associated packages in the X lib.
After pushing the docker image with the new server configuration and enabling H2C in Cloud Run as well as setting
FLEET_SERVER_FORCE_H2C=true
I can successfully upload software installers > 32 MiB in size.