Skip to content

Instantly share code, notes, and snippets.

@anoopl
Created February 25, 2020 08:56
Show Gist options
  • Save anoopl/526c7fc3d2ea9bfe989d0d86ec158bfc to your computer and use it in GitHub Desktop.
Save anoopl/526c7fc3d2ea9bfe989d0d86ec158bfc to your computer and use it in GitHub Desktop.
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: es-prod
spec:
version: 7.6.0
nodeSets:
- name: es-prod
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: 500Gi
storageClassName: standard
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
name: kibana-es-prod
spec:
version: 7.6.0
count: 1
elasticsearchRef:
name: es-prod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment