Skip to content

Instantly share code, notes, and snippets.

@lakhansamani
Created February 1, 2020 00:28
Show Gist options
  • Select an option

  • Save lakhansamani/9ba1259219e53f399befe3135c68c65f to your computer and use it in GitHub Desktop.

Select an option

Save lakhansamani/9ba1259219e53f399befe3135c68c65f to your computer and use it in GitHub Desktop.
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.5.2
nodeSets:
- name: default
count: 1
resources:
requests:
memory: 1.5Gi
cpu: 1
limits:
memory: 3Gi
cpu: 2
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:
storeage: 10Gi
storageClassName: standard
http:
tls:
selfSignedCertificate:
disabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment