You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, we're currently using emptyDir, which isn't particularly suitable for ES. The tradeoff is generally that emptyDir is not safe, PersistentVolumes by default may have worse performance.
Since most (all?) K8s distributions come with a default storage class, we can make it the default (i.e if nothing regarding data volumes are specified, we'll create a PVC).
The text was updated successfully, but these errors were encountered:
By default they will get a 1Gi volume, which is chosen because matches roughly 1:1 vs the default heap.
Users can opt out of this behavior by specifying the data volume in the Elasticsearch resource directly
```yaml
apiVersion: elasticsearch.k8s.elastic.co/v1alpha1
kind: Elasticsearch
metadata:
name: elasticsearch-sample
spec:
version: "7.1.0"
nodes:
- nodeCount: 1
podTemplate:
spec:
volumes:
- name: elasticsearch-data
emptyDir: {}
```
Builds on top of elastic#1024Closes: elastic#913
By default, we're currently using
emptyDir
, which isn't particularly suitable for ES. The tradeoff is generally thatemptyDir
is not safe,PersistentVolumes
by default may have worse performance.Since most (all?) K8s distributions come with a default storage class, we can make it the default (i.e if nothing regarding data volumes are specified, we'll create a PVC).
The text was updated successfully, but these errors were encountered: