Skip to content

Commit ff2a353

Browse files
Remove enableOOBLoadReport and oobReportingPeriod fields from gateway CRDs and related configurations. Update associated test data and documentation.
Signed-off-by: anurag.ag <[email protected]>
1 parent 58ef50b commit ff2a353

16 files changed

+2
-452
lines changed

api/v1alpha1/loadbalancer_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ type ClientSideWeightedRoundRobin struct {
151151
// Whether to enable out-of-band utilization reporting collection from the endpoints.
152152
// By default, per-request utilization reporting is used.
153153
// +optional
154-
EnableOOBLoadReport *bool `json:"enableOOBLoadReport,omitempty"`
154+
EnableOOBLoadReport *bool `json:"-"`
155155

156156
// Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
157157
// Default is 10s; server may not provide reports as frequently as requested.
158158
// +optional
159-
OOBReportingPeriod *gwapiv1.Duration `json:"oobReportingPeriod,omitempty"`
159+
OOBReportingPeriod *gwapiv1.Duration `json:"-"`
160160

161161
// A given endpoint must report load metrics continuously for at least this long before the endpoint weight will be used.
162162
// Default is 10s.

charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_backendtrafficpolicies.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -688,11 +688,6 @@ spec:
688688
Default is 10s.
689689
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
690690
type: string
691-
enableOOBLoadReport:
692-
description: |-
693-
Whether to enable out-of-band utilization reporting collection from the endpoints.
694-
By default, per-request utilization reporting is used.
695-
type: boolean
696691
errorUtilizationPenalty:
697692
description: |-
698693
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -706,12 +701,6 @@ spec:
706701
items:
707702
type: string
708703
type: array
709-
oobReportingPeriod:
710-
description: |-
711-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
712-
Default is 10s; server may not provide reports as frequently as requested.
713-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
714-
type: string
715704
weightExpirationPeriod:
716705
description: If a given endpoint has not reported load metrics
717706
in this long, stop using the reported weight. Defaults to

charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -727,11 +727,6 @@ spec:
727727
Default is 10s.
728728
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
729729
type: string
730-
enableOOBLoadReport:
731-
description: |-
732-
Whether to enable out-of-band utilization reporting collection from the endpoints.
733-
By default, per-request utilization reporting is used.
734-
type: boolean
735730
errorUtilizationPenalty:
736731
description: |-
737732
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -745,12 +740,6 @@ spec:
745740
items:
746741
type: string
747742
type: array
748-
oobReportingPeriod:
749-
description: |-
750-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
751-
Default is 10s; server may not provide reports as frequently as requested.
752-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
753-
type: string
754743
weightExpirationPeriod:
755744
description: If a given endpoint has not reported
756745
load metrics in this long, stop using the reported

charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_envoyproxies.yaml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -11696,11 +11696,6 @@ spec:
1169611696
Default is 10s.
1169711697
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
1169811698
type: string
11699-
enableOOBLoadReport:
11700-
description: |-
11701-
Whether to enable out-of-band utilization reporting collection from the endpoints.
11702-
By default, per-request utilization reporting is used.
11703-
type: boolean
1170411699
errorUtilizationPenalty:
1170511700
description: |-
1170611701
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -11714,12 +11709,6 @@ spec:
1171411709
items:
1171511710
type: string
1171611711
type: array
11717-
oobReportingPeriod:
11718-
description: |-
11719-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
11720-
Default is 10s; server may not provide reports as frequently as requested.
11721-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
11722-
type: string
1172311712
weightExpirationPeriod:
1172411713
description: If a given endpoint
1172511714
has not reported load metrics
@@ -12964,11 +12953,6 @@ spec:
1296412953
Default is 10s.
1296512954
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
1296612955
type: string
12967-
enableOOBLoadReport:
12968-
description: |-
12969-
Whether to enable out-of-band utilization reporting collection from the endpoints.
12970-
By default, per-request utilization reporting is used.
12971-
type: boolean
1297212956
errorUtilizationPenalty:
1297312957
description: |-
1297412958
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -12982,12 +12966,6 @@ spec:
1298212966
items:
1298312967
type: string
1298412968
type: array
12985-
oobReportingPeriod:
12986-
description: |-
12987-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
12988-
Default is 10s; server may not provide reports as frequently as requested.
12989-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
12990-
type: string
1299112969
weightExpirationPeriod:
1299212970
description: If a given endpoint
1299312971
has not reported load metrics
@@ -14326,11 +14304,6 @@ spec:
1432614304
Default is 10s.
1432714305
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
1432814306
type: string
14329-
enableOOBLoadReport:
14330-
description: |-
14331-
Whether to enable out-of-band utilization reporting collection from the endpoints.
14332-
By default, per-request utilization reporting is used.
14333-
type: boolean
1433414307
errorUtilizationPenalty:
1433514308
description: |-
1433614309
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -14344,12 +14317,6 @@ spec:
1434414317
items:
1434514318
type: string
1434614319
type: array
14347-
oobReportingPeriod:
14348-
description: |-
14349-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
14350-
Default is 10s; server may not provide reports as frequently as requested.
14351-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
14352-
type: string
1435314320
weightExpirationPeriod:
1435414321
description: If a given endpoint has
1435514322
not reported load metrics in this
@@ -15593,11 +15560,6 @@ spec:
1559315560
Default is 10s.
1559415561
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
1559515562
type: string
15596-
enableOOBLoadReport:
15597-
description: |-
15598-
Whether to enable out-of-band utilization reporting collection from the endpoints.
15599-
By default, per-request utilization reporting is used.
15600-
type: boolean
1560115563
errorUtilizationPenalty:
1560215564
description: |-
1560315565
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -15611,12 +15573,6 @@ spec:
1561115573
items:
1561215574
type: string
1561315575
type: array
15614-
oobReportingPeriod:
15615-
description: |-
15616-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
15617-
Default is 10s; server may not provide reports as frequently as requested.
15618-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
15619-
type: string
1562015576
weightExpirationPeriod:
1562115577
description: If a given endpoint has not reported
1562215578
load metrics in this long, stop using the

charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_securitypolicies.yaml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,11 +1245,6 @@ spec:
12451245
Default is 10s.
12461246
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
12471247
type: string
1248-
enableOOBLoadReport:
1249-
description: |-
1250-
Whether to enable out-of-band utilization reporting collection from the endpoints.
1251-
By default, per-request utilization reporting is used.
1252-
type: boolean
12531248
errorUtilizationPenalty:
12541249
description: |-
12551250
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -1263,12 +1258,6 @@ spec:
12631258
items:
12641259
type: string
12651260
type: array
1266-
oobReportingPeriod:
1267-
description: |-
1268-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
1269-
Default is 10s; server may not provide reports as frequently as requested.
1270-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
1271-
type: string
12721261
weightExpirationPeriod:
12731262
description: If a given endpoint has not reported
12741263
load metrics in this long, stop using the reported
@@ -2397,11 +2386,6 @@ spec:
23972386
Default is 10s.
23982387
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
23992388
type: string
2400-
enableOOBLoadReport:
2401-
description: |-
2402-
Whether to enable out-of-band utilization reporting collection from the endpoints.
2403-
By default, per-request utilization reporting is used.
2404-
type: boolean
24052389
errorUtilizationPenalty:
24062390
description: |-
24072391
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -2415,12 +2399,6 @@ spec:
24152399
items:
24162400
type: string
24172401
type: array
2418-
oobReportingPeriod:
2419-
description: |-
2420-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
2421-
Default is 10s; server may not provide reports as frequently as requested.
2422-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
2423-
type: string
24242402
weightExpirationPeriod:
24252403
description: If a given endpoint has not reported
24262404
load metrics in this long, stop using the reported
@@ -3760,11 +3738,6 @@ spec:
37603738
Default is 10s.
37613739
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
37623740
type: string
3763-
enableOOBLoadReport:
3764-
description: |-
3765-
Whether to enable out-of-band utilization reporting collection from the endpoints.
3766-
By default, per-request utilization reporting is used.
3767-
type: boolean
37683741
errorUtilizationPenalty:
37693742
description: |-
37703743
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -3778,12 +3751,6 @@ spec:
37783751
items:
37793752
type: string
37803753
type: array
3781-
oobReportingPeriod:
3782-
description: |-
3783-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
3784-
Default is 10s; server may not provide reports as frequently as requested.
3785-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
3786-
type: string
37873754
weightExpirationPeriod:
37883755
description: If a given endpoint has not
37893756
reported load metrics in this long, stop
@@ -5183,11 +5150,6 @@ spec:
51835150
Default is 10s.
51845151
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
51855152
type: string
5186-
enableOOBLoadReport:
5187-
description: |-
5188-
Whether to enable out-of-band utilization reporting collection from the endpoints.
5189-
By default, per-request utilization reporting is used.
5190-
type: boolean
51915153
errorUtilizationPenalty:
51925154
description: |-
51935155
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -5201,12 +5163,6 @@ spec:
52015163
items:
52025164
type: string
52035165
type: array
5204-
oobReportingPeriod:
5205-
description: |-
5206-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
5207-
Default is 10s; server may not provide reports as frequently as requested.
5208-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
5209-
type: string
52105166
weightExpirationPeriod:
52115167
description: If a given endpoint has not reported
52125168
load metrics in this long, stop using the reported

charts/gateway-helm/crds/generated/gateway.envoyproxy.io_backendtrafficpolicies.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -687,11 +687,6 @@ spec:
687687
Default is 10s.
688688
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
689689
type: string
690-
enableOOBLoadReport:
691-
description: |-
692-
Whether to enable out-of-band utilization reporting collection from the endpoints.
693-
By default, per-request utilization reporting is used.
694-
type: boolean
695690
errorUtilizationPenalty:
696691
description: |-
697692
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -705,12 +700,6 @@ spec:
705700
items:
706701
type: string
707702
type: array
708-
oobReportingPeriod:
709-
description: |-
710-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
711-
Default is 10s; server may not provide reports as frequently as requested.
712-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
713-
type: string
714703
weightExpirationPeriod:
715704
description: If a given endpoint has not reported load metrics
716705
in this long, stop using the reported weight. Defaults to

0 commit comments

Comments
 (0)