From 790f58c3ae24ccf67457f9cf793f41e659b1a0e4 Mon Sep 17 00:00:00 2001 From: Arhell Date: Tue, 6 Aug 2024 01:35:23 +0300 Subject: [PATCH] [zh] Update stale StatefulSet with Cassandra example --- .../examples/application/cassandra/cassandra-statefulset.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh-cn/examples/application/cassandra/cassandra-statefulset.yaml b/content/zh-cn/examples/application/cassandra/cassandra-statefulset.yaml index 7a36c6f550..50e243e4bd 100644 --- a/content/zh-cn/examples/application/cassandra/cassandra-statefulset.yaml +++ b/content/zh-cn/examples/application/cassandra/cassandra-statefulset.yaml @@ -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