- 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
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: opensearch
|
|
namespace: data
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: opensearch
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: opensearch
|
|
spec:
|
|
initContainers:
|
|
- name: sysctl
|
|
image: busybox
|
|
command: ["sysctl", "-w", "vm.max_map_count=262144"]
|
|
securityContext:
|
|
privileged: true
|
|
containers:
|
|
- name: opensearch
|
|
image: opensearchproject/opensearch:2
|
|
ports:
|
|
- name: http
|
|
containerPort: 9200
|
|
protocol: TCP
|
|
- name: transport
|
|
containerPort: 9300
|
|
protocol: TCP
|
|
env:
|
|
- name: discovery.type
|
|
value: single-node
|
|
- name: OPENSEARCH_JAVA_OPTS
|
|
value: "-Xms512m -Xmx1g"
|
|
- name: DISABLE_SECURITY_PLUGIN
|
|
value: "true"
|
|
resources:
|
|
limits:
|
|
memory: 1500Mi
|
|
requests:
|
|
memory: 768Mi
|
|
cpu: 100m
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /usr/share/opensearch/data
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: opensearch-data
|