2026-02-28 13:42:27 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: opensearch
|
|
|
|
|
namespace: data
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: opensearch
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: opensearch
|
|
|
|
|
spec:
|
2026-03-10 18:52:29 +00:00
|
|
|
securityContext:
|
|
|
|
|
fsGroup: 1000
|
2026-02-28 13:42:27 +00:00
|
|
|
initContainers:
|
|
|
|
|
- name: sysctl
|
|
|
|
|
image: busybox
|
|
|
|
|
command: ["sysctl", "-w", "vm.max_map_count=262144"]
|
|
|
|
|
securityContext:
|
|
|
|
|
privileged: true
|
|
|
|
|
containers:
|
|
|
|
|
- name: opensearch
|
2026-03-10 18:52:29 +00:00
|
|
|
image: opensearchproject/opensearch:3
|
sol v1.1.0: SearXNG web search, evaluator redesign, research agents
- SearXNG deployment in data namespace (free, no-tracking web search)
- sol-config: SearXNG URL, research config, identity agent, updated
system prompt (DM search rules, research mode, silence, hard rules)
- sol-deployment: debug logging (RUST_LOG=sol=debug), full image path
- opensearch: tolerate missing prometheus-exporter plugin on OS 3
2026-03-23 09:54:56 +00:00
|
|
|
command: ["sh", "-c"]
|
|
|
|
|
args: ["opensearch-plugin install --batch prometheus-exporter || true; /usr/share/opensearch/opensearch-docker-entrypoint.sh"]
|
2026-02-28 13:42:27 +00:00
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
containerPort: 9200
|
|
|
|
|
protocol: TCP
|
|
|
|
|
- name: transport
|
|
|
|
|
containerPort: 9300
|
|
|
|
|
protocol: TCP
|
|
|
|
|
env:
|
|
|
|
|
- name: discovery.type
|
|
|
|
|
value: single-node
|
|
|
|
|
- name: OPENSEARCH_JAVA_OPTS
|
2026-03-10 18:52:29 +00:00
|
|
|
value: "-Xms1g -Xmx1536m"
|
2026-02-28 13:42:27 +00:00
|
|
|
- name: DISABLE_SECURITY_PLUGIN
|
|
|
|
|
value: "true"
|
2026-03-10 18:52:29 +00:00
|
|
|
- name: plugins.ml_commons.only_run_on_ml_node
|
|
|
|
|
value: "false"
|
|
|
|
|
- name: plugins.ml_commons.native_memory_threshold
|
|
|
|
|
value: "90"
|
|
|
|
|
- name: plugins.ml_commons.model_access_control_enabled
|
|
|
|
|
value: "false"
|
|
|
|
|
- name: plugins.ml_commons.allow_registering_model_via_url
|
|
|
|
|
value: "true"
|
2026-02-28 13:42:27 +00:00
|
|
|
resources:
|
|
|
|
|
limits:
|
2026-03-10 18:52:29 +00:00
|
|
|
memory: 2Gi
|
2026-02-28 13:42:27 +00:00
|
|
|
requests:
|
2026-03-10 18:52:29 +00:00
|
|
|
memory: 1Gi
|
2026-02-28 13:42:27 +00:00
|
|
|
cpu: 100m
|
feat(infra): data, storage, devtools, and ory layer updates
- data: CNPG cluster tuning, OpenBao values, OpenSearch deployment fixes,
OpenSearch PVC, barman vault secret for S3 backup credentials
- storage: SeaweedFS filer updates (s3.json via secret subPath), PVC for
filer persistent storage
- devtools: Gitea values (SSH service, custom theme), gitea-theme-cm ConfigMap
- ory: add kratos-selfservice-urls.yaml for self-service flow URLs
- media: LiveKit values updated (TURN config, STUN, resource limits)
- vso: kustomization cleanup
2026-03-06 12:07:28 +00:00
|
|
|
volumeMounts:
|
|
|
|
|
- name: data
|
|
|
|
|
mountPath: /usr/share/opensearch/data
|
|
|
|
|
volumes:
|
|
|
|
|
- name: data
|
|
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: opensearch-data
|