fix: enable search (fix opensearch security, enable es, bump web memory)

- Fix OpenSearch security plugin: change "true" string to true boolean
  in cluster.yaml to actually disable security (TLS + auth)
- Enable elasticsearch in mastodon connecting to shared-os cluster
  (port 9200, TLS disabled, single_node_cluster preset)
- Enable deploySearch hook to build search indexes
- Increase mastodon-web memory limit from 512Mi to 1Gi to fix OOMKill
This commit is contained in:
Alexander Rogov
2026-07-13 00:11:51 +03:00
parent 58e2742991
commit ea57d44228
2 changed files with 8 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ spec:
hooks:
deploySearch:
enabled: false
enabled: true
s3:
enabled: true
@@ -50,7 +50,7 @@ spec:
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
memory: 1Gi
sidekiq:
workers:
@@ -111,7 +111,11 @@ spec:
password: change-me
elasticsearch:
enabled: false
enabled: true
hostname: shared-os.opensearch.svc.cluster.local
port: 9200
tls: false
preset: single_node_cluster
ingress:
enabled: true
className: traefik

View File

@@ -9,7 +9,7 @@ spec:
serviceName: shared-os
setVMMaxMapCount: true
additionalConfig:
plugins.security.disabled: "true"
plugins.security.disabled: true
nodePools:
- component: nodes
replicas: 3