[ru] Reduce GracePeriod to 300 sec for deploying Cassandra with a StatefulSet

This commit is contained in:
Arhell 2024-08-03 00:25:03 +03:00
parent d885054c94
commit 605f2474e6
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ spec:
labels:
app: cassandra
spec:
terminationGracePeriodSeconds: 1800
terminationGracePeriodSeconds: 500
containers:
- name: cassandra
image: gcr.io/google-samples/cassandra:v13
@ -43,7 +43,7 @@ spec:
lifecycle:
preStop:
exec:
command:
command:
- /bin/sh
- -c
- nodetool drain