Skip to content

Instantly share code, notes, and snippets.

@arunksingh16
Created April 4, 2021 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arunksingh16/2dfddf7d479ee59d30e6629a7c1463c3 to your computer and use it in GitHub Desktop.
Save arunksingh16/2dfddf7d479ee59d30e6629a7c1463c3 to your computer and use it in GitHub Desktop.
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: elsmonitor
spec:
version: 7.12.0
http:
tls:
selfSignedCertificate:
disabled: true
nodeSets:
- name: default
count: 1
config:
node.store.allow_mmap: false
podTemplate:
spec:
volumes:
- name: elasticsearch-data
emptyDir: {}
---
#kubectl get service elsmonitor-es-http
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
name: kibmonitor
spec:
version: 7.12.0
http:
tls:
selfSignedCertificate:
disabled: true
count: 1
elasticsearchRef:
name: elsmonitor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment