add a volume to cassandra example
This commit is contained in:
parent
78a470733b
commit
fa3a731996
|
@ -16,6 +16,9 @@ desiredState:
|
||||||
containerPort: 9042
|
containerPort: 9042
|
||||||
- name: thrift
|
- name: thrift
|
||||||
containerPort: 9160
|
containerPort: 9160
|
||||||
|
volumeMounts:
|
||||||
|
- name: data
|
||||||
|
mountPath: /cassandra_data
|
||||||
env:
|
env:
|
||||||
- key: MAX_HEAP_SIZE
|
- key: MAX_HEAP_SIZE
|
||||||
value: 512M
|
value: 512M
|
||||||
|
@ -23,6 +26,10 @@ desiredState:
|
||||||
value: 100M
|
value: 100M
|
||||||
- key: KUBERNETES_API_PROTOCOL
|
- key: KUBERNETES_API_PROTOCOL
|
||||||
value: http
|
value: http
|
||||||
|
volumes:
|
||||||
|
- name: data
|
||||||
|
source:
|
||||||
|
emptyDir: ""
|
||||||
labels:
|
labels:
|
||||||
name: cassandra
|
name: cassandra
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue