You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: preparation for gateway conformance test (#266)
* refactor: improve performance
Signed-off-by: Lin Yang <[email protected]>
* fix: golang lint
Signed-off-by: Lin Yang <[email protected]>
* fix: mock
Signed-off-by: Lin Yang <[email protected]>
* fix: don't watch EndpointSlices on k8s 1.19 & 1.20
Signed-off-by: Lin Yang <[email protected]>
* fix: golang lint
Signed-off-by: Lin Yang <[email protected]>
* fix: remove invocation to legacy informers
Signed-off-by: Lin Yang <[email protected]>
* refactor: housekeeping
Signed-off-by: Lin Yang <[email protected]>
* docs: comments on methods
Signed-off-by: Lin Yang <[email protected]>
* fix: ignore backend ref with nil port
Signed-off-by: Lin Yang <[email protected]>
* [skip ci] chore: bump k3d to 1.25.16-k3s4
Signed-off-by: Lin Yang <[email protected]>
* feat: Gateway in NodePort mode
Signed-off-by: Lin Yang <[email protected]>
* fix: golang lint
Signed-off-by: Lin Yang <[email protected]>
* fix: e2e
Signed-off-by: Lin Yang <[email protected]>
* refactor: route status processor
Signed-off-by: Lin Yang <[email protected]>
* refactor: rename
Signed-off-by: Lin Yang <[email protected]>
* refactor: policy status processor
Signed-off-by: Lin Yang <[email protected]>
* fix: golang lint
Signed-off-by: Lin Yang <[email protected]>
* feat: add Timeouts config
Signed-off-by: Lin Yang <[email protected]>
* refactor: housekeeping
Signed-off-by: Lin Yang <[email protected]>
* refactor: rename variable [skip ci]
Signed-off-by: Lin Yang <[email protected]>
* refactor: rename method [skip ci]
Signed-off-by: Lin Yang <[email protected]>
* refactor: gateway status update
Signed-off-by: Lin Yang <[email protected]>
* fix: golang lint
Signed-off-by: Lin Yang <[email protected]>
* fix: golang lint
Signed-off-by: Lin Yang <[email protected]>
* fix: golang lint
Signed-off-by: Lin Yang <[email protected]>
* fix: nil pointer
Signed-off-by: Lin Yang <[email protected]>
* refactor: refine events
Signed-off-by: Lin Yang <[email protected]>
* fix: golang lint
Signed-off-by: Lin Yang <[email protected]>
* fix: remove restriction of ONLY ONE active FSM GatewayClass per cluster and ONLY ONE active gateway per namespace
Signed-off-by: Lin Yang <[email protected]>
* fix: golang lint
Signed-off-by: Lin Yang <[email protected]>
* refactor: change the name template of gateway
Signed-off-by: Lin Yang <[email protected]>
* fix: nil pointer
Signed-off-by: Lin Yang <[email protected]>
* fix: set accepted status of GatewayClass
Signed-off-by: Lin Yang <[email protected]>
* refactor: housekeeping
Signed-off-by: Lin Yang <[email protected]>
* refactor: housekeeping
Signed-off-by: Lin Yang <[email protected]>
* refactor: housekeeping
Signed-off-by: Lin Yang <[email protected]>
---------
Signed-off-by: Lin Yang <[email protected]>
| fsm.fsmGateway.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].weight | int |`100`||
74
-
| fsm.fsmGateway.autoScale | object |`{"behavior":{"scaleDown":{"policies":[{"periodSeconds":60,"type":"Pods","value":1},{"periodSeconds":60,"type":"Percent","value":10}],"selectPolicy":"Min","stabilizationWindowSeconds":300},"scaleUp":{"policies":[{"periodSeconds":15,"type":"Percent","value":100},{"periodSeconds":15,"type":"Pods","value":2}],"selectPolicy":"Max","stabilizationWindowSeconds":0}},"cpu":{"targetAverageUtilization":80},"enable":false,"maxReplicas":10,"memory":{"targetAverageUtilization":80},"metrics":[{"resource":{"name":"cpu","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"},{"resource":{"name":"memory","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"}],"minReplicas":1}`| Auto scale configuration |
75
-
| fsm.fsmGateway.autoScale.behavior | object |`{"scaleDown":{"policies":[{"periodSeconds":60,"type":"Pods","value":1},{"periodSeconds":60,"type":"Percent","value":10}],"selectPolicy":"Min","stabilizationWindowSeconds":300},"scaleUp":{"policies":[{"periodSeconds":15,"type":"Percent","value":100},{"periodSeconds":15,"type":"Pods","value":2}],"selectPolicy":"Max","stabilizationWindowSeconds":0}}`| Auto scale behavior, for v2 API |
76
-
| fsm.fsmGateway.autoScale.cpu | object |`{"targetAverageUtilization":80}`| Auto scale cpu metrics, for v2beta2 API |
77
-
| fsm.fsmGateway.autoScale.cpu.targetAverageUtilization | int |`80`| Average target CPU utilization (%) |
| fsm.fsmGateway.autoScale.maxReplicas | int |`10`| Maximum replicas for autoscale |
80
-
| fsm.fsmGateway.autoScale.memory | object |`{"targetAverageUtilization":80}`| Auto scale memory metrics, for v2beta2 API |
81
-
| fsm.fsmGateway.autoScale.memory.targetAverageUtilization | int |`80`| Average target memory utilization (%) |
82
-
| fsm.fsmGateway.autoScale.metrics | list |`[{"resource":{"name":"cpu","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"},{"resource":{"name":"memory","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"}]`| Auto scale metrics, for v2 API |
83
-
| fsm.fsmGateway.autoScale.minReplicas | int |`1`| Minimum replicas for autoscale |
| fsm.fsmGateway.tolerations | list |`[]`| Node tolerations applied to control plane pods. The specified tolerations allow pods to schedule onto nodes with matching taints. |
99
62
| fsm.fsmNamespace | string |`""`| Namespace to deploy FSM in. If not specified, the Helm release namespace is used. |
| fsm.gateway.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].weight | int |`100`||
75
+
| fsm.gateway.autoScale | object |`{"behavior":{"scaleDown":{"policies":[{"periodSeconds":60,"type":"Pods","value":1},{"periodSeconds":60,"type":"Percent","value":10}],"selectPolicy":"Min","stabilizationWindowSeconds":300},"scaleUp":{"policies":[{"periodSeconds":15,"type":"Percent","value":100},{"periodSeconds":15,"type":"Pods","value":2}],"selectPolicy":"Max","stabilizationWindowSeconds":0}},"cpu":{"targetAverageUtilization":80},"enable":false,"maxReplicas":10,"memory":{"targetAverageUtilization":80},"metrics":[{"resource":{"name":"cpu","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"},{"resource":{"name":"memory","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"}],"minReplicas":1}`| Auto scale configuration |
76
+
| fsm.gateway.autoScale.behavior | object |`{"scaleDown":{"policies":[{"periodSeconds":60,"type":"Pods","value":1},{"periodSeconds":60,"type":"Percent","value":10}],"selectPolicy":"Min","stabilizationWindowSeconds":300},"scaleUp":{"policies":[{"periodSeconds":15,"type":"Percent","value":100},{"periodSeconds":15,"type":"Pods","value":2}],"selectPolicy":"Max","stabilizationWindowSeconds":0}}`| Auto scale behavior, for v2 API |
77
+
| fsm.gateway.autoScale.cpu | object |`{"targetAverageUtilization":80}`| Auto scale cpu metrics, for v2beta2 API |
78
+
| fsm.gateway.autoScale.cpu.targetAverageUtilization | int |`80`| Average target CPU utilization (%) |
| fsm.gateway.autoScale.maxReplicas | int |`10`| Maximum replicas for autoscale |
81
+
| fsm.gateway.autoScale.memory | object |`{"targetAverageUtilization":80}`| Auto scale memory metrics, for v2beta2 API |
82
+
| fsm.gateway.autoScale.memory.targetAverageUtilization | int |`80`| Average target memory utilization (%) |
83
+
| fsm.gateway.autoScale.metrics | list |`[{"resource":{"name":"cpu","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"},{"resource":{"name":"memory","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"}]`| Auto scale metrics, for v2 API |
84
+
| fsm.gateway.autoScale.minReplicas | int |`1`| Minimum replicas for autoscale |
| fsm.gateway.infrastructure | object |`{"annotations":{},"labels":{}}`| Gateway's infrastructure, override by gateway.spec.infrastructure.annotations and gateway.spec.infrastructure.labels -- NOT override by parameterRef |
| fsm.gateway.serviceType | string |`"LoadBalancer"`| FSM Gateway's service type, only LoadBalancer and NodePort are supported |
105
+
| fsm.gateway.tolerations | list |`[]`| Node tolerations applied to control plane pods. The specified tolerations allow pods to schedule onto nodes with matching taints. |
0 commit comments