diff --git a/examples/cassandra/cassandra.yaml b/examples/cassandra/cassandra.yaml index 5cc39e84f9d5b..c6a7b5e6ad0ff 100644 --- a/examples/cassandra/cassandra.yaml +++ b/examples/cassandra/cassandra.yaml @@ -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