mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
add a volume to cassandra example
This commit is contained in:
parent
b06458e0ea
commit
7ff43be79d
@ -16,6 +16,9 @@ desiredState:
|
||||
containerPort: 9042
|
||||
- name: thrift
|
||||
containerPort: 9160
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /cassandra_data
|
||||
env:
|
||||
- key: MAX_HEAP_SIZE
|
||||
value: 512M
|
||||
@ -23,6 +26,10 @@ desiredState:
|
||||
value: 100M
|
||||
- key: KUBERNETES_API_PROTOCOL
|
||||
value: http
|
||||
volumes:
|
||||
- name: data
|
||||
source:
|
||||
emptyDir: ""
|
||||
labels:
|
||||
name: cassandra
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user