Skip to content

Instantly share code, notes, and snippets.

@anoopl
Created February 26, 2020 06:19
Show Gist options
  • Save anoopl/dd1d8a007a4596417baf9d7faac4b9c5 to your computer and use it in GitHub Desktop.
Save anoopl/dd1d8a007a4596417baf9d7faac4b9c5 to your computer and use it in GitHub Desktop.
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: es-test
spec:
version: 7.5.1
nodeSets:
- name: es-test
count: 3
config:
node.master: true
node.data: true
node.ingest: true
node.store.allow_mmap: false
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 50Gi
storageClassName: standard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment