42 lines
1,020 B
YAML
42 lines
1,020 B
YAML
|
---
|
||
|
apiVersion: elasticsearch.k8s.elastic.co/v1
|
||
|
kind: Elasticsearch
|
||
|
metadata:
|
||
|
name: mastodon
|
||
|
namespace: fediverse
|
||
|
spec:
|
||
|
version: 7.17.9
|
||
|
http:
|
||
|
tls:
|
||
|
selfSignedCertificate:
|
||
|
disabled: true
|
||
|
nodeSets:
|
||
|
- name: default
|
||
|
count: 2
|
||
|
config:
|
||
|
node.store.allow_mmap: false
|
||
|
xpack.security.authc:
|
||
|
anonymous:
|
||
|
username: anonymous
|
||
|
roles: superuser
|
||
|
authz_exception: false
|
||
|
podTemplate:
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: elasticsearch
|
||
|
resources:
|
||
|
requests:
|
||
|
cpu: 62m
|
||
|
memory: 512Mi
|
||
|
limits:
|
||
|
memory: 8Gi
|
||
|
volumeClaimTemplates:
|
||
|
- metadata:
|
||
|
name: elasticsearch-data # Do not change this name unless you set up a volume mount for the data path.
|
||
|
spec:
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
resources:
|
||
|
requests:
|
||
|
storage: 50Gi
|