Skip to content

Commit a710063

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 6a27c73 commit a710063

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
@@ -11720,11 +11720,6 @@ spec:
1172011720
Default is 10s.
1172111721
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
1172211722
type: string
11723-
enableOOBLoadReport:
11724-
description: |-
11725-
Whether to enable out-of-band utilization reporting collection from the endpoints.
11726-
By default, per-request utilization reporting is used.
11727-
type: boolean
1172811723
errorUtilizationPenalty:
1172911724
description: |-
1173011725
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -11738,12 +11733,6 @@ spec:
1173811733
items:
1173911734
type: string
1174011735
type: array
11741-
oobReportingPeriod:
11742-
description: |-
11743-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
11744-
Default is 10s; server may not provide reports as frequently as requested.
11745-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
11746-
type: string
1174711736
weightExpirationPeriod:
1174811737
description: If a given endpoint
1174911738
has not reported load metrics
@@ -12988,11 +12977,6 @@ spec:
1298812977
Default is 10s.
1298912978
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
1299012979
type: string
12991-
enableOOBLoadReport:
12992-
description: |-
12993-
Whether to enable out-of-band utilization reporting collection from the endpoints.
12994-
By default, per-request utilization reporting is used.
12995-
type: boolean
1299612980
errorUtilizationPenalty:
1299712981
description: |-
1299812982
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -13006,12 +12990,6 @@ spec:
1300612990
items:
1300712991
type: string
1300812992
type: array
13009-
oobReportingPeriod:
13010-
description: |-
13011-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
13012-
Default is 10s; server may not provide reports as frequently as requested.
13013-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
13014-
type: string
1301512993
weightExpirationPeriod:
1301612994
description: If a given endpoint
1301712995
has not reported load metrics
@@ -14350,11 +14328,6 @@ spec:
1435014328
Default is 10s.
1435114329
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
1435214330
type: string
14353-
enableOOBLoadReport:
14354-
description: |-
14355-
Whether to enable out-of-band utilization reporting collection from the endpoints.
14356-
By default, per-request utilization reporting is used.
14357-
type: boolean
1435814331
errorUtilizationPenalty:
1435914332
description: |-
1436014333
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -14368,12 +14341,6 @@ spec:
1436814341
items:
1436914342
type: string
1437014343
type: array
14371-
oobReportingPeriod:
14372-
description: |-
14373-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
14374-
Default is 10s; server may not provide reports as frequently as requested.
14375-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
14376-
type: string
1437714344
weightExpirationPeriod:
1437814345
description: If a given endpoint has
1437914346
not reported load metrics in this
@@ -15617,11 +15584,6 @@ spec:
1561715584
Default is 10s.
1561815585
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
1561915586
type: string
15620-
enableOOBLoadReport:
15621-
description: |-
15622-
Whether to enable out-of-band utilization reporting collection from the endpoints.
15623-
By default, per-request utilization reporting is used.
15624-
type: boolean
1562515587
errorUtilizationPenalty:
1562615588
description: |-
1562715589
The multiplier used to adjust endpoint weights with the error rate calculated as eps/qps.
@@ -15635,12 +15597,6 @@ spec:
1563515597
items:
1563615598
type: string
1563715599
type: array
15638-
oobReportingPeriod:
15639-
description: |-
15640-
Load reporting interval to request from the server. Used only when enableOOBLoadReport is true.
15641-
Default is 10s; server may not provide reports as frequently as requested.
15642-
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
15643-
type: string
1564415600
weightExpirationPeriod:
1564515601
description: If a given endpoint has not reported
1564615602
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)