[bn] Update stale StatefulSet with Cassandra example
parent
b99bafcb0c
commit
7d688024c8
|
@ -15,7 +15,7 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: cassandra
|
app: cassandra
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 1800
|
terminationGracePeriodSeconds: 500
|
||||||
containers:
|
containers:
|
||||||
- name: cassandra
|
- name: cassandra
|
||||||
image: gcr.io/google-samples/cassandra:v13
|
image: gcr.io/google-samples/cassandra:v13
|
||||||
|
@ -43,7 +43,7 @@ spec:
|
||||||
lifecycle:
|
lifecycle:
|
||||||
preStop:
|
preStop:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- nodetool drain
|
- nodetool drain
|
||||||
|
|
Loading…
Reference in New Issue