Skip to content

Commit

Permalink
Set Kubernetes graceful shutdown timeout to 10 minutes.
Browse files Browse the repository at this point in the history
Addresses #2698.
  • Loading branch information
danielmai committed Oct 30, 2018
1 parent c8b9db9 commit 0958e90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/config/kubernetes/dgraph-ha.yaml
Expand Up @@ -163,7 +163,7 @@ spec:
else
dgraph zero --my=$(hostname -f):5080 --peer dgraph-zero-0.dgraph-zero.default.svc.cluster.local:5080 --idx $idx --replicas 3
fi
terminationGracePeriodSeconds: 60
terminationGracePeriodSeconds: 600
volumes:
- name: datadir
persistentVolumeClaim:
Expand Down Expand Up @@ -230,7 +230,7 @@ spec:
- |
set -ex
dgraph server --my=$(hostname -f):7080 --lru_mb 2048 --zero dgraph-zero-0.dgraph-zero.default.svc.cluster.local:5080
terminationGracePeriodSeconds: 60
terminationGracePeriodSeconds: 600
volumes:
- name: datadir
persistentVolumeClaim:
Expand Down

0 comments on commit 0958e90

Please sign in to comment.