Skip to content

Commit

Permalink
increase grace period
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh committed Oct 17, 2023
1 parent b478589 commit 20fb1e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion front/logger/withlogging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export const withLogging = (handler: any, streaming = false) => {
message: `Unhandled internal server error: ${err}`,
},
});

return;
}

Expand Down
4 changes: 2 additions & 2 deletions k8s/deployments/front-edge-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
annotations:
ad.datadoghq.com/web.logs: '[{"source": "front","service": "front-edge","tags": ["env:prod"]}]'
spec:
terminationGracePeriodSeconds: 60
containers:
- name: web
image: gcr.io/or1g1n-186209/front-image:latest
Expand Down Expand Up @@ -46,12 +47,11 @@ spec:
fieldRef:
fieldPath: status.hostIP

# add PRESTOP_SECRET env variable from prestop-secret
- name: PRESTOP_SECRET
valueFrom:
secretKeyRef:
name: prestop-secret
key: PRESTOP_SECRET # replace with the key of the secret
key: PRESTOP_SECRET

lifecycle:
preStop:
Expand Down

0 comments on commit 20fb1e8

Please sign in to comment.