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:
@@ -32,7 +32,7 @@ spec:
|
|||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
deploySearch:
|
deploySearch:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
|
||||||
s3:
|
s3:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -50,7 +50,7 @@ spec:
|
|||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 512Mi
|
memory: 1Gi
|
||||||
|
|
||||||
sidekiq:
|
sidekiq:
|
||||||
workers:
|
workers:
|
||||||
@@ -111,7 +111,11 @@ spec:
|
|||||||
password: change-me
|
password: change-me
|
||||||
|
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
hostname: shared-os.opensearch.svc.cluster.local
|
||||||
|
port: 9200
|
||||||
|
tls: false
|
||||||
|
preset: single_node_cluster
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: traefik
|
className: traefik
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ spec:
|
|||||||
serviceName: shared-os
|
serviceName: shared-os
|
||||||
setVMMaxMapCount: true
|
setVMMaxMapCount: true
|
||||||
additionalConfig:
|
additionalConfig:
|
||||||
plugins.security.disabled: "true"
|
plugins.security.disabled: true
|
||||||
nodePools:
|
nodePools:
|
||||||
- component: nodes
|
- component: nodes
|
||||||
replicas: 3
|
replicas: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user