From fa28849ee8352eaccddab758d5daa105b2d404e9 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 25 Jun 2022 17:36:19 +0800 Subject: [PATCH] [zh] resyn cassandra-statefulset.yaml --- .../application/cassandra/cassandra-statefulset.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/content/zh-cn/examples/application/cassandra/cassandra-statefulset.yaml b/content/zh-cn/examples/application/cassandra/cassandra-statefulset.yaml index a7bdbedc9c..7a36c6f550 100644 --- a/content/zh-cn/examples/application/cassandra/cassandra-statefulset.yaml +++ b/content/zh-cn/examples/application/cassandra/cassandra-statefulset.yaml @@ -72,15 +72,13 @@ spec: - /ready-probe.sh initialDelaySeconds: 15 timeoutSeconds: 5 - # These volume mounts are persistent. They are like inline claims, - # but not exactly because the names need to match exactly one of - # the stateful pod volumes. + # 这些卷挂载是持久的。它们类似内联申领,但并不完全相同, + # 因为这些卷挂载的名称需要与 StatefulSet 中某 Pod 卷完全匹配。 volumeMounts: - name: cassandra-data mountPath: /cassandra_data - # These are converted to volume claims by the controller - # and mounted at the paths mentioned above. - # do not use these in production until ssd GCEPersistentDisk or other ssd pd + # 这些将被控制器转换为卷申领,并挂载在上述路径。 + # 请勿将此设置用于生产环境,除非使用了 GCEPersistentDisk 或其他 SSD 持久盘。 volumeClaimTemplates: - metadata: name: cassandra-data