[zh] resyn cassandra-statefulset.yaml
This commit is contained in:
parent
ed23f394e2
commit
fa28849ee8
|
|
@ -72,15 +72,13 @@ spec:
|
||||||
- /ready-probe.sh
|
- /ready-probe.sh
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
# These volume mounts are persistent. They are like inline claims,
|
# 这些卷挂载是持久的。它们类似内联申领,但并不完全相同,
|
||||||
# but not exactly because the names need to match exactly one of
|
# 因为这些卷挂载的名称需要与 StatefulSet 中某 Pod 卷完全匹配。
|
||||||
# the stateful pod volumes.
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: cassandra-data
|
- name: cassandra-data
|
||||||
mountPath: /cassandra_data
|
mountPath: /cassandra_data
|
||||||
# These are converted to volume claims by the controller
|
# 这些将被控制器转换为卷申领,并挂载在上述路径。
|
||||||
# and mounted at the paths mentioned above.
|
# 请勿将此设置用于生产环境,除非使用了 GCEPersistentDisk 或其他 SSD 持久盘。
|
||||||
# do not use these in production until ssd GCEPersistentDisk or other ssd pd
|
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
- metadata:
|
||||||
name: cassandra-data
|
name: cassandra-data
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue