86 lines
2.2 KiB
YAML
86 lines
2.2 KiB
YAML
global:
|
|
defaultStorageClass: "thin-disk"
|
|
security:
|
|
allowInsecureImages: true # we want to use our custom harbor images derived from bitnami images
|
|
|
|
common:
|
|
mongodbSystemLogVerbosity: 0
|
|
|
|
image:
|
|
registry: ""
|
|
repository: harbor01.gt-dev.sk/edesk/mongodb-sharded
|
|
tag: 8.0.13-debian-12-r0
|
|
debug: true
|
|
|
|
volumePermissions:
|
|
registry: ""
|
|
repository: harbor01.gt-dev.sk/edesk/os-shell
|
|
tag: os-shell:12-debian-12-r51
|
|
|
|
service:
|
|
type: LoadBalancer
|
|
|
|
shards: 1
|
|
|
|
configsvr:
|
|
replicaCount: 3
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 500Mi
|
|
limits:
|
|
cpu: 1
|
|
memory: 4Gi
|
|
persistence:
|
|
size: 5Gi
|
|
|
|
mongos:
|
|
replicaCount: 3
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 500Mi
|
|
limits:
|
|
cpu: 2
|
|
memory: 4Gi
|
|
|
|
shardsvr:
|
|
dataNode:
|
|
startupProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 60 # Give mongod 60s before first check
|
|
periodSeconds: 30 # Check every 30s instead of 10s
|
|
timeoutSeconds: 10 # Allow 10s per check
|
|
failureThreshold: 10 # 10 failures = 5 minutes total
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 30
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
replicaCount: 3
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 500Mi
|
|
limits:
|
|
cpu: 2
|
|
memory: 4Gi
|
|
persistence:
|
|
size: 5Gi
|
|
|
|
pmmMetrics:
|
|
enabled: false
|
|
image:
|
|
repository: harbor01.gt-dev.sk/percona/pmm-client
|
|
tag: 3.4.0
|
|
pmm_agent_server_address: "monitoring-service.pmm-server.svc.cluster.local:443"
|
|
pmm_agent_server_insecure_tls: "1"
|
|
pmm_agent_setup_force: "1"
|
|
pmm_agent_config_file: "/usr/local/percona/pmm/config/pmm-agent.yaml"
|
|
pmm_agent_prerun_script: "pmm-admin config --server-url=https://$PMM_AGENT_SERVER_USERNAME:$PMM_AGENT_SERVER_PASSWORD@$PMM_AGENT_SERVER_ADDRESS --server-insecure-tls && pmm-admin add mongodb --host=localhost --username=$PMM_MONGODB-USERNAME --password=$PMM_MONGODB-PASSWORD --enable-all-collectors --cluster=mongodb-load-cluster"
|
|
|
|
auth:
|
|
existingSecret: mongodb-mongodb-sharded |