Skip to content

Commit c460675

Browse files
brokenthumbsabd-goog
authored andcommitted
Clarifying documentation for google_compute_backend_service locality_lb_policy (GoogleCloudPlatform#11732)
1 parent b6ef2fc commit c460675

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

mmv1/products/compute/BackendService.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,8 @@ properties:
823823
Maglev, refer to https://ai.google/research/pubs/pub44824
824824
825825
* `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
826-
reported weights. If set, the Backend Service must
826+
reported weights. Only applicable to loadBalancingScheme
827+
EXTERNAL. If set, the Backend Service must
827828
configure a non legacy HTTP-based Health Check, and
828829
health check replies are expected to contain
829830
non-standard HTTP response header field
@@ -835,7 +836,7 @@ properties:
835836
UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
836837
equal-weight.
837838
838-
This field is applicable to either:
839+
locality_lb_policy is applicable to either:
839840
840841
* A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
841842
and loadBalancingScheme set to INTERNAL_MANAGED.
@@ -844,7 +845,7 @@ properties:
844845
Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
845846
Network Load Balancing. The default is MAGLEV.
846847
847-
If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
848+
If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV,
848849
or RING_HASH, session affinity settings will not take effect.
849850
850851
Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced

mmv1/products/compute/go_BackendService.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,8 @@ properties:
813813
Maglev, refer to https://ai.google/research/pubs/pub44824
814814
815815
* `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
816-
reported weights. If set, the Backend Service must
816+
reported weights. Only applicable to loadBalancingScheme
817+
EXTERNAL. If set, the Backend Service must
817818
configure a non legacy HTTP-based Health Check, and
818819
health check replies are expected to contain
819820
non-standard HTTP response header field
@@ -825,7 +826,7 @@ properties:
825826
UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
826827
equal-weight.
827828
828-
This field is applicable to either:
829+
locality_lb_policy is applicable to either:
829830
830831
* A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
831832
and loadBalancingScheme set to INTERNAL_MANAGED.
@@ -834,7 +835,7 @@ properties:
834835
Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
835836
Network Load Balancing. The default is MAGLEV.
836837
837-
If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
838+
If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV,
838839
or RING_HASH, session affinity settings will not take effect.
839840
840841
Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced

0 commit comments

Comments
 (0)