Skip to content

Commit ce9d5c7

Browse files
committed
Switch from loki to ELK stack
1 parent c22636f commit ce9d5c7

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

charts/elastic-stack/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Documentation
2+
3+
Elastic Stack Helm Chart Documentation: https://www.elastic.co/docs/deploy-manage/deploy/cloud-on-k8s/managing-deployments-using-helm-chart
4+
5+
Helm values examples: https://github.com/elastic/cloud-on-k8s/tree/3.0/deploy/eck-stack/examples
6+
7+
Deploying with helm: https://www.elastic.co/docs/deploy-manage/deploy/cloud-on-k8s/managing-deployments-using-helm-chart
8+
9+
Elastic Stack Helm Chart GitHub https://github.com/elastic/cloud-on-k8s/tree/main/deploy/eck-stack/
10+
11+
Best option for persistent volume of an on-premise ECK: https://discuss.elastic.co/t/best-option-for-persistent-volume-of-an-on-premise-eck/215611
12+
13+
Local persistent volumes and Pod bound to nodes configuration
14+
* https://stackoverflow.com/questions/67195003/how-to-define-local-pesistence-volumes-in-a-kubernetes-statefullset
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# https://github.com/elastic/cloud-on-k8s/blob/3.0/deploy/eck-stack/charts/eck-elasticsearch/values.yaml
2+
eck-elasticsearch:
3+
nodeSets:
4+
- name: default
5+
count: 1
6+
config:
7+
node.store.allow_mmap: false
8+
9+
# https://www.elastic.co/docs/deploy-manage/deploy/cloud-on-k8s/volume-claim-templates
10+
volumeClaimTemplates:
11+
- metadata:
12+
name: elasticsearch-data # do not change without extra configuration
13+
spec:
14+
accessModes:
15+
- ReadWriteOnce
16+
resources:
17+
requests:
18+
storage: 20Gi
19+
storageClassName:
20+
podTemplate:
21+
nodeSelector:
22+
ops: true
23+
spec:
24+
containers:
25+
- name: elasticsearch
26+
27+
# List of environment variables to set in the 'elasticsearch' container.
28+
# https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
29+
# env:
30+
# - name: "my-env-var"
31+
# value: "my-value"
32+
33+
resources:
34+
limits:
35+
cpu: 1
36+
memory: 2Gi
37+
requests:
38+
cpu: 0.5
39+
memory: 512Mi

charts/grafana-loki/values.yaml.gotmpl

Whitespace-only changes.

0 commit comments

Comments
 (0)