forked from cloudfoundry/bosh-bootloader
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add plan-patch for http2 in the cf-lb on gcp
- this patch will switch the protocol from https to http2 for the GCP load balancer Co-authored-by: Weyman Fung <weymanf@vmware.com> Co-authored-by: Greg Cobb <gcobb@vmware.com>
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## http2 load balancer for GCP | ||
|
||
This is a patch that will enable http2 protocol for the backend services used in the GCP load | ||
balancer. | ||
|
||
This will override the existing HTTPS protocol that is configured on the load | ||
balancer. **Be aware** that requests to the loadbalancer will upgrade its connection to http2. If | ||
your gorouter is not up-to-date or does not allow http2 traffic, then the | ||
requests to the gorouter will fail. | ||
|
||
To use, please follow the standard plan-patch steps. | ||
|
||
``` | ||
mkdir your-env && cd your-env | ||
bbl plan --name your-env | ||
cp -r bosh-bootloader/plan-patches/http2-lb-gcp/. . | ||
bbl up | ||
``` |
3 changes: 3 additions & 0 deletions
3
plan-patches/http2-lb-gcp/terraform/http2-cf-lb-gcp_override.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
resource "google_compute_backend_service" "router-lb-backend-service" { | ||
protocol = "HTTP2" | ||
} |