This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/archive/fediverse/mastodon/app/elasticsearch.yaml

41 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