Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
d58add2
Add readiness probe as part of translation
davidjumani Dec 24, 2024
ddde2be
remove unecessary routes
davidjumani Jan 2, 2025
f4eb3de
rename listener
davidjumani Jan 2, 2025
f37b820
adding changelog
davidjumani Jan 2, 2025
dda7e65
Merge branch 'main' into fix-readiness-probe
davidjumani Jan 2, 2025
bf2c8d4
udpate godoc
davidjumani Jan 2, 2025
1fabcd7
fix tests
davidjumani Jan 2, 2025
33d8e3d
codegen
davidjumani Jan 2, 2025
29e0f9a
fix bootstrap config
davidjumani Jan 2, 2025
b074b14
add rediness listener to outfiles
davidjumani Jan 2, 2025
470dafc
Adding changelog file to new location
Jan 16, 2025
5b38933
Deleting changelog file from old location
Jan 16, 2025
2d931be
Adding changelog file to new location
Jan 23, 2025
4dfcd3c
Deleting changelog file from old location
Jan 23, 2025
97c7c3e
Adding changelog file to new location
Jan 30, 2025
ec3e7f3
Deleting changelog file from old location
Jan 30, 2025
bfd1272
Adding changelog file to new location
Feb 10, 2025
bdb7cea
Deleting changelog file from old location
Feb 10, 2025
f0909e9
Adding changelog file to new location
Feb 12, 2025
e3e3e2e
Deleting changelog file from old location
Feb 12, 2025
e1072bb
Adding changelog file to new location
Feb 14, 2025
9597331
Deleting changelog file from old location
Feb 14, 2025
2c367d7
Adding changelog file to new location
Feb 17, 2025
90a18a8
Deleting changelog file from old location
Feb 17, 2025
de071a8
Adding changelog file to new location
Feb 18, 2025
7828f6a
Deleting changelog file from old location
Feb 18, 2025
d6a4af8
Adding changelog file to new location
Feb 24, 2025
5961345
Deleting changelog file from old location
Feb 24, 2025
1eb3034
Adding changelog file to new location
Feb 24, 2025
02c8965
Deleting changelog file from old location
Feb 24, 2025
e7bbce2
Adding changelog file to new location
Mar 11, 2025
c7e5a1c
Deleting changelog file from old location
Mar 11, 2025
4b97288
Adding changelog file to new location
Mar 20, 2025
2f906ce
Deleting changelog file from old location
Mar 20, 2025
dc2e23f
Adding changelog file to new location
Mar 26, 2025
8c985f1
Deleting changelog file from old location
Mar 26, 2025
e0f18bb
Adding changelog file to new location
Apr 3, 2025
0377103
Deleting changelog file from old location
Apr 3, 2025
5b48480
Adding changelog file to new location
Apr 10, 2025
f50dfe9
Deleting changelog file from old location
Apr 10, 2025
19c4aef
Adding changelog file to new location
Apr 14, 2025
6354ce6
Deleting changelog file from old location
Apr 14, 2025
0723c31
Adding changelog file to new location
Apr 17, 2025
6a74fc0
Deleting changelog file from old location
Apr 17, 2025
a7f6fa5
Adding changelog file to new location
May 14, 2025
a8e7197
Deleting changelog file from old location
May 14, 2025
62cb3bd
Adding changelog file to new location
Jun 3, 2025
41323f5
Deleting changelog file from old location
Jun 3, 2025
20cab80
Adding changelog file to new location
Jun 25, 2025
d50513e
Deleting changelog file from old location
Jun 25, 2025
c563404
Adding changelog file to new location
Jul 10, 2025
a4bc645
Deleting changelog file from old location
Jul 10, 2025
f55263b
Adding changelog file to new location
Jul 17, 2025
72f6be6
Deleting changelog file from old location
Jul 17, 2025
89373a5
Adding changelog file to new location
Aug 12, 2025
e6d0272
Deleting changelog file from old location
Aug 12, 2025
c3171a2
Adding changelog file to new location
Aug 13, 2025
a1516ef
Deleting changelog file from old location
Aug 13, 2025
0e15dbd
Adding changelog file to new location
Sep 25, 2025
216fd0f
Deleting changelog file from old location
Sep 25, 2025
e7af310
Adding changelog file to new location
Oct 22, 2025
0be40a3
Deleting changelog file from old location
Oct 22, 2025
e6ebfd0
Adding changelog file to new location
Dec 5, 2025
599eed9
Deleting changelog file from old location
Dec 5, 2025
500f807
Adding changelog file to new location
Dec 22, 2025
e5d0648
Deleting changelog file from old location
Dec 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions changelog/v1.19.11/fix-readiness-probe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
changelog:
- type: FIX
issueLink: https://github.com/solo-io/gloo/issues/10541
resolvesIssue: false
description: Fixes a bug where the envoy pod passes the readiness probe before receving the xds config.

Original file line number Diff line number Diff line change
Expand Up @@ -439,45 +439,8 @@ data:
metadata:
role: gloo-kube-gateway-api~{{ $gateway.gatewayNamespace }}~{{ $gateway.gatewayNamespace }}-{{ $gateway.gatewayName | default (include "gloo-gateway.gateway.fullname" .) }}
static_resources:
listeners:
- name: readiness_listener
address:
socket_address: { address: 0.0.0.0, port_value: 8082 }
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: ingress_http
codec_type: AUTO
route_config:
name: main_route
virtual_hosts:
- name: local_service
domains: ["*"]
routes:
- match:
path: "/ready"
headers:
- name: ":method"
string_match:
exact: GET
route:
cluster: admin_port_cluster
http_filters:
{{- if $gateway.readinessProbe }}
- name: envoy.filters.http.health_check
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.health_check.v3.HealthCheck
pass_through_mode: false
headers:
- name: ":path"
exact_match: "/envoy-hc"
Comment thread
nfuden marked this conversation as resolved.
{{- end }}{{/*if $gateway.readinessProbe*/}}
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
{{- if $statsConfig.enabled }}
listeners:
- name: prometheus_listener
address:
socket_address:
Expand Down Expand Up @@ -526,6 +489,8 @@ data:
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
{{- else}}
listeners: []
{{- end }} {{/* if $gateway.stats.enabled */}}
clusters:
- name: xds_cluster
Expand Down
59 changes: 59 additions & 0 deletions projects/gateway2/setup/testdata/failover-default-diffns-out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,59 @@ listeners:
upgradeConfigs:
- upgradeType: websocket
name: http
- address:
socketAddress:
address: '::'
ipv4Compat: true
portValue: 8082
filterChains:
- filters:
- name: envoy.filters.network.http_connection_manager
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
httpFilters:
- name: envoy.filters.http.fault
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.cors
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
- name: envoy.filters.http.local_ratelimit
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit
stage: 3
statPrefix: http_local_ratelimit
- name: envoy.filters.http.grpc_web
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.grpc_web.v3.GrpcWeb
- name: envoy.filters.http.health_check
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.health_check.v3.HealthCheck
headers:
- exactMatch: /envoy-hc
name: :path
passThroughMode: false
- name: io.solo.transformation
typedConfig:
'@type': type.googleapis.com/envoy.api.v2.filter.http.FilterTransformations
- name: envoy.filters.http.csrf
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.csrf.v3.CsrfPolicy
filterEnabled:
defaultValue: {}
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
normalizePath: true
rds:
configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: readiness_listener-routes
statPrefix: http
upgradeConfigs:
- upgradeType: websocket
name: readiness_listener
routes:
- ignorePortInHostMatching: true
name: http-routes-14610285773269467959
Expand All @@ -222,3 +275,9 @@ routes:
route:
cluster: kube-svc:gwtest-reviews-8080_gwtest
clusterNotFoundResponseCode: INTERNAL_SERVER_ERROR
- ignorePortInHostMatching: true
name: readiness_listener-routes
virtualHosts:
- domains:
- '*'
name: local_service
59 changes: 59 additions & 0 deletions projects/gateway2/setup/testdata/failover-default-out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,59 @@ listeners:
upgradeConfigs:
- upgradeType: websocket
name: http
- address:
socketAddress:
address: '::'
ipv4Compat: true
portValue: 8082
filterChains:
- filters:
- name: envoy.filters.network.http_connection_manager
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
httpFilters:
- name: envoy.filters.http.fault
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.cors
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
- name: envoy.filters.http.local_ratelimit
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit
stage: 3
statPrefix: http_local_ratelimit
- name: envoy.filters.http.grpc_web
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.grpc_web.v3.GrpcWeb
- name: envoy.filters.http.health_check
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.health_check.v3.HealthCheck
headers:
- exactMatch: /envoy-hc
name: :path
passThroughMode: false
- name: io.solo.transformation
typedConfig:
'@type': type.googleapis.com/envoy.api.v2.filter.http.FilterTransformations
- name: envoy.filters.http.csrf
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.csrf.v3.CsrfPolicy
filterEnabled:
defaultValue: {}
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
normalizePath: true
rds:
configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: readiness_listener-routes
statPrefix: http
upgradeConfigs:
- upgradeType: websocket
name: readiness_listener
routes:
- ignorePortInHostMatching: true
name: http-routes-14610285773269467959
Expand All @@ -222,3 +275,9 @@ routes:
route:
cluster: kube-svc:gwtest-reviews-8080_gwtest
clusterNotFoundResponseCode: INTERNAL_SERVER_ERROR
- ignorePortInHostMatching: true
name: readiness_listener-routes
virtualHosts:
- domains:
- '*'
name: local_service
59 changes: 59 additions & 0 deletions projects/gateway2/setup/testdata/failover-out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,59 @@ listeners:
upgradeConfigs:
- upgradeType: websocket
name: http
- address:
socketAddress:
address: '::'
ipv4Compat: true
portValue: 8082
filterChains:
- filters:
- name: envoy.filters.network.http_connection_manager
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
httpFilters:
- name: envoy.filters.http.fault
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.cors
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
- name: envoy.filters.http.local_ratelimit
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit
stage: 3
statPrefix: http_local_ratelimit
- name: envoy.filters.http.grpc_web
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.grpc_web.v3.GrpcWeb
- name: envoy.filters.http.health_check
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.health_check.v3.HealthCheck
headers:
- exactMatch: /envoy-hc
name: :path
passThroughMode: false
- name: io.solo.transformation
typedConfig:
'@type': type.googleapis.com/envoy.api.v2.filter.http.FilterTransformations
- name: envoy.filters.http.csrf
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.csrf.v3.CsrfPolicy
filterEnabled:
defaultValue: {}
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
normalizePath: true
rds:
configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: readiness_listener-routes
statPrefix: http
upgradeConfigs:
- upgradeType: websocket
name: readiness_listener
routes:
- ignorePortInHostMatching: true
name: http-routes-14610285773269467959
Expand All @@ -221,3 +274,9 @@ routes:
route:
cluster: kube-svc:gwtest-reviews-8080_gwtest
clusterNotFoundResponseCode: INTERNAL_SERVER_ERROR
- ignorePortInHostMatching: true
name: readiness_listener-routes
virtualHosts:
- domains:
- '*'
name: local_service
59 changes: 59 additions & 0 deletions projects/gateway2/setup/testdata/happypath-out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,59 @@ listeners:
upgradeConfigs:
- upgradeType: websocket
name: http
- address:
socketAddress:
address: '::'
ipv4Compat: true
portValue: 8082
filterChains:
- filters:
- name: envoy.filters.network.http_connection_manager
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
httpFilters:
- name: envoy.filters.http.fault
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.cors
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
- name: envoy.filters.http.local_ratelimit
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit
stage: 3
statPrefix: http_local_ratelimit
- name: envoy.filters.http.grpc_web
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.grpc_web.v3.GrpcWeb
- name: envoy.filters.http.health_check
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.health_check.v3.HealthCheck
headers:
- exactMatch: /envoy-hc
name: :path
passThroughMode: false
- name: io.solo.transformation
typedConfig:
'@type': type.googleapis.com/envoy.api.v2.filter.http.FilterTransformations
- name: envoy.filters.http.csrf
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.csrf.v3.CsrfPolicy
filterEnabled:
defaultValue: {}
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
normalizePath: true
rds:
configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: readiness_listener-routes
statPrefix: http
upgradeConfigs:
- upgradeType: websocket
name: readiness_listener
routes:
- ignorePortInHostMatching: true
name: http-routes-14610285773269467959
Expand All @@ -171,3 +224,9 @@ routes:
route:
cluster: kube-svc:gwtest-reviews-8080_gwtest
clusterNotFoundResponseCode: INTERNAL_SERVER_ERROR
- ignorePortInHostMatching: true
name: readiness_listener-routes
virtualHosts:
- domains:
- '*'
name: local_service
Loading