129 lines
3.5 KiB
YAML
129 lines
3.5 KiB
YAML
global:
|
|
defaultStorageClass: "azure-blob-fuse-2-std-lrs"
|
|
storageClass: "azure-blob-fuse-2-std-lrs"
|
|
security:
|
|
allowInsecureImages: false
|
|
namespaceOverride: "freeleaps-alpha"
|
|
clusterDomain: freeleaps.cluster
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/mongodb
|
|
tag: 8.0.4-debian-12-r3
|
|
pullPolicy: IfNotPresent
|
|
architecture: standalone
|
|
useStatefulSet: true
|
|
podSecurityContext:
|
|
enabled: true
|
|
containerSecurityContext:
|
|
enabled: true
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
runAsNonRoot: false
|
|
auth:
|
|
enabled: false
|
|
extraEnvVars: []
|
|
replicaCount: 1
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
resources:
|
|
requests:
|
|
cpu: 1
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: 2
|
|
memory: 1024Mi
|
|
containerPorts:
|
|
mongodb: 27017
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 20
|
|
timeoutSeconds: 10
|
|
failureThreshold: 6
|
|
successThreshold: 1
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 6
|
|
successThreshold: 1
|
|
startupProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 20
|
|
timeoutSeconds: 10
|
|
successThreshold: 1
|
|
failureThreshold: 30
|
|
pdb:
|
|
create: true
|
|
minAvailable: "1"
|
|
service:
|
|
type: ClusterIP
|
|
portName: mongodb
|
|
ports:
|
|
mongodb: 27017
|
|
persistence:
|
|
enabled: true
|
|
name: "datadir"
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
size: 25Gi
|
|
mountPath: /bitnami/mongodb
|
|
metrics:
|
|
enabled: true
|
|
collector:
|
|
## @param metrics.collector.all Enable all collectors. Same as enabling all individual metrics
|
|
## Enabling all metrics will cause significant CPU load on mongod
|
|
all: false
|
|
## @param metrics.collector.diagnosticdata Boolean Enable collecting metrics from getDiagnosticData
|
|
diagnosticdata: true
|
|
## @param metrics.collector.replicasetstatus Boolean Enable collecting metrics from replSetGetStatus
|
|
replicasetstatus: true
|
|
## @param metrics.collector.dbstats Boolean Enable collecting metrics from dbStats
|
|
dbstats: true
|
|
## @param metrics.collector.topmetrics Boolean Enable collecting metrics from top admin command
|
|
topmetrics: false
|
|
## @param metrics.collector.indexstats Boolean Enable collecting metrics from $indexStats
|
|
indexstats: true
|
|
## @param metrics.collector.collstats Boolean Enable collecting metrics from $collStats
|
|
collstats: true
|
|
## @param metrics.collector.collstatsColls List of \<databases\>.\<collections\> to get $collStats
|
|
collstatsColls: []
|
|
## @param metrics.collector.indexstatsColls List - List of \<databases\>.\<collections\> to get $indexStats
|
|
indexstatsColls: []
|
|
## @param metrics.collector.collstatsLimit Number - Disable collstats, dbstats, topmetrics and indexstats collector if there are more than \<n\> collections. 0=No limit
|
|
collstatsLimit: 0
|
|
service:
|
|
annotations:
|
|
prometheus.io/scrape: "true"
|
|
prometheus.io/port: "{{ .Values.metrics.service.ports.metrics }}"
|
|
prometheus.io/path: "/metrics"
|
|
type: ClusterIP
|
|
ports:
|
|
metrics: 9216
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 5
|
|
timeoutSeconds: 10
|
|
failureThreshold: 3
|
|
successThreshold: 1
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
timeoutSeconds: 10
|
|
failureThreshold: 3
|
|
successThreshold: 1
|
|
serviceMonitor:
|
|
enabled: true
|
|
namespace: "freeleaps-monitoring-system"
|
|
interval: 30s
|
|
scrapeTimeout: ""
|
|
prometheusRule:
|
|
enabled: true
|
|
additionalLabels: {}
|
|
namespace: "freeleaps-monitoring-system"
|
|
rules: []
|