123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
# See https://github.com/elastic/cloud-on-k8s/blob/main/deploy/eck-stack/values.yaml
eck-stack:
eck-operator-crds:
enabled: false
# https://www.elastic.co/docs/deploy-manage/deploy/cloud-on-k8s/elasticsearch-deployment-quickstart
eck-elasticsearch:
enabled: true
image: reg.mini.dev/elasticsearch:9.2.2
# See https://www.elastic.co/docs/deploy-manage/deploy/cloud-on-k8s/create-custom-images
nodeSets:
- name: default
count: 1
config:
# Comment out when setting the vm.max_map_count via initContainer, as these are mutually exclusive.
# For production workloads, it is strongly recommended to increase the kernel setting vm.max_map_count to 262144
# and leave node.store.allow_mmap unset.
# ref: https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-virtual-memory.html
#
node.store.allow_mmap: false
podTemplate:
spec:
containers:
- name: elasticsearch
imagePullPolicy: Always
imagePullSecrets:
- name: minimus-registry
# Workaround for ECK issue #6156: ensure the init container runs
# with root to avoid pod startup failures related to volume mounting.
# See https://github.com/elastic/cloud-on-k8s/issues/6156
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
initContainers:
- name: elastic-internal-init-filesystem
securityContext:
runAsUser: 0
runAsGroup: 0
# https://www.elastic.co/docs/deploy-manage/deploy/cloud-on-k8s/kibana-instance-quickstart
eck-kibana:
enabled: true
image: reg.mini.dev/kibana:9.2.2
podTemplate:
spec:
containers:
- name: kibana
imagePullPolicy: Always
imagePullSecrets:
- name: minimus-registry
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
eck-logstash:
enabled: true
image: reg.mini.dev/logstash:9.2.2
podTemplate:
spec:
imagePullSecrets:
- name: minimus-registry
replicas: 1
# Logstash configuration
logstashConfig:
logstash.yml: |
http.host: 0.0.0.0
# Pipeline configuration
logstashPipeline:
logstash.conf: |
input {
beats {
port => 5044
}
}
output {
elasticsearch {
hosts => ["elasticsearch-es-http:9200"]
index => "logstash-%{+YYYY.MM.dd}"
}
}
# Resource limits
resources:
requests:
cpu: "100m"
memory: "1536Mi"
limits:
cpu: "1000m"
memory: "1536Mi"
# Java options
logstashJavaOpts: "-Xmx1g -Xms1g"