Skip to content

Instantly share code, notes, and snippets.

@ams0
Created February 8, 2020 11:38
Show Gist options
  • Save ams0/f5ef1e9cdba05830973410b0bedd9714 to your computer and use it in GitHub Desktop.
Save ams0/f5ef1e9cdba05830973410b0bedd9714 to your computer and use it in GitHub Desktop.
Install Kibana+ES (first, run `kubectl apply -f https://download.elastic.co/downloads/eck/1.0.0/all-in-one.yaml`
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: es
spec:
version: 7.5.2
nodeSets:
- name: default
count: 3
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 50Gi
config:
node.master: true
node.data: true
node.ingest: true
node.store.allow_mmap: false
---
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
name: kibana
spec:
version: 7.5.2
count: 1
elasticsearchRef:
name: es
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment