@@ -2446,7 +2446,7 @@ binary = "./hello"
2446
2446
2447
2447
[gke]
2448
2448
regions = ["us-west1"]
2449
- listeners.hello = {public_hostname = "hello.com"}
2449
+ listeners.hello = {is_public = true, hostname = "hello.com"}
2450
2450
` ` `
2451
2451
2452
2452
The `[serviceweaver]` section of the config file specifies the compiled Service
@@ -2840,16 +2840,16 @@ You can configure `weaver gke` using the `[gke]` section of a
2840
2840
` ` ` toml
2841
2841
[gke]
2842
2842
regions = ["us-west1", "us-east1"]
2843
- listeners.cat = {public_hostname = "cat.com"}
2844
- listeners.hat = {public_hostname = "hat.gg"}
2843
+ listeners.cat = {is_public = true, hostname = "cat.com"}
2844
+ listeners.hat = {is_public = true, hostname = "hat.gg"}
2845
2845
` ` `
2846
2846
2847
2847
| Field | Required? | Description |
2848
2848
|-------------|-----------|------------------------------------------------------------------------------------------------------------------------|
2849
2849
| regions | yes | Regions in which the Service Weaver application should be deployed. Note that at least one region should be specified. |
2850
2850
| image | optional | Base image used to build the application container image. If not specified, `image = ubuntu:rolling`. |
2851
2851
| minreplicas | optional | Minimum number of running pods for each component. If not specified, `minreplicas = 1`. |
2852
- | listeners | optional | The application's listener options, e.g., the listeners' public hostnames. |
2852
+ | listeners | optional | The application's listener options, e.g., the listeners' hostnames. |
2853
2853
2854
2854
**Note** that by default, your Service Weaver application will be deployed in the
2855
2855
currently active project using the currently active account; i.e., in the project
@@ -2905,7 +2905,7 @@ binary = "./hello"
2905
2905
2906
2906
[gke]
2907
2907
regions = ["us-west1"]
2908
- listeners.hello = {public_hostname = "hello.com"}
2908
+ listeners.hello = {is_public = true, hostname = "hello.com"}
2909
2909
2910
2910
$ weaver gke-local deploy weaver.toml
2911
2911
Deploying the application... Done
0 commit comments