Skip to content

Commit

Permalink
Merge pull request #1674 from navikt/graceful3
Browse files Browse the repository at this point in the history
teste med å øke grace period
  • Loading branch information
kenglxn authored Sep 5, 2023
2 parents 47edd05 + 9e2f8fd commit 59ccf1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions nais/dev-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
readiness:
path: /min-side-arbeidsgiver/internal/isReady
initialDelay: 20
terminationGracePeriodSeconds: 60
prometheus:
enabled: true
path: /min-side-arbeidsgiver/internal/metrics
Expand Down
1 change: 1 addition & 0 deletions nais/prod-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
readiness:
path: /min-side-arbeidsgiver/internal/isReady
initialDelay: 20
terminationGracePeriodSeconds: 60
prometheus:
enabled: true
path: /min-side-arbeidsgiver/internal/metrics
Expand Down
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const main = async () => {

const terminator = createHttpTerminator({
server,
gracefulTerminationTimeout: 15_000, // defaults: terminator=5s, k8s=30s
gracefulTerminationTimeout: 30_000, // defaults: terminator=5s, k8s=30s
});

process.on('SIGTERM', () => {
Expand Down

0 comments on commit 59ccf1c

Please sign in to comment.