Skip to content

Instantly share code, notes, and snippets.

@eyalkoren
Last active August 25, 2022 06:13
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eyalkoren/b9d0be149248a44b064f7cb186001546 to your computer and use it in GitHub Desktop.
Save eyalkoren/b9d0be149248a44b064f7cb186001546 to your computer and use it in GitHub Desktop.
Elasticsearch, Kibana and Elastic APM Server deployment for Kubernetes
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.5.1
nodeSets:
- name: default
count: 3
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.1
count: 1
elasticsearchRef:
name: elasticsearch
http:
service:
spec:
type: LoadBalancer
---
apiVersion: apm.k8s.elastic.co/v1
kind: ApmServer
metadata:
name: apm-server
spec:
version: 7.5.1
count: 1
elasticsearchRef:
name: "elasticsearch"
config:
apm-server:
rum.enabled: true
ilm.enabled: true
http:
service:
spec:
type: LoadBalancer
tls:
selfSignedCertificate:
disabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment