Skip to content

Commit 136dbb8

Browse files
authored
Merge pull request #47367 from Arhell/zh-upd
[zh] Update stale StatefulSet with Cassandra example
2 parents 9ba53f1 + 790f58c commit 136dbb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh-cn/examples/application/cassandra/cassandra-statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
labels:
1616
app: cassandra
1717
spec:
18-
terminationGracePeriodSeconds: 1800
18+
terminationGracePeriodSeconds: 500
1919
containers:
2020
- name: cassandra
2121
image: gcr.io/google-samples/cassandra:v13
@@ -43,7 +43,7 @@ spec:
4343
lifecycle:
4444
preStop:
4545
exec:
46-
command:
46+
command:
4747
- /bin/sh
4848
- -c
4949
- nodetool drain

0 commit comments

Comments
 (0)