Skip to content

Commit

Permalink
add zero downtime profile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjumani committed Nov 15, 2024
1 parent 9dbe84b commit 6b5438b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ global:
# Configuration for the Kubernetes Gateway integration in Gloo Gateway
kubeGateway:
enabled: true
# Enable the probes to ensure zero downtime
gatewayParameters:
glooGateway:
podTemplate:
terminationGracePeriodSeconds: 5
gracefulShutdown:
enabled: true
sleepTimeSeconds: 2
probes: true
livenessProbeEnabled: true

# Configuration for the statically deployed gateway-proxy that ships by default with Gloo Gateway
gatewayProxies:
Expand Down
11 changes: 11 additions & 0 deletions test/kubernetes/e2e/tests/manifests/zero-downtime-rollout.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
kubeGateway:
# Enable the probes to ensure zero downtime
gatewayParameters:
glooGateway:
podTemplate:
terminationGracePeriodSeconds: 5
gracefulShutdown:
enabled: true
sleepTimeSeconds: 2
probes: true
livenessProbeEnabled: true
2 changes: 1 addition & 1 deletion test/kubernetes/e2e/tests/zero_downtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestZeroDowntimeRollout(t *testing.T) {
&gloogateway.Context{
InstallNamespace: installNs,
ProfileValuesManifestFile: e2e.KubernetesGatewayProfilePath,
ValuesManifestFile: e2e.EmptyValuesManifestPath,
ValuesManifestFile: e2e.ManifestPath("zero-downtime-rollout.yaml"),
},
)

Expand Down

0 comments on commit 6b5438b

Please sign in to comment.