-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathvalues.yaml
69 lines (59 loc) · 1.98 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
mongodb:
type: ReplicaSet
members: 3
version: 5.0.4
authentication:
- SCRAM
- X509
- LDAP
# These values will be used if `mongodb.type` is "ShardedCluster".
# For more information about these values please visit:
# https://docs.mongodb.com/kubernetes-operator/stable/reference/k8s-operator-specification
sharding:
shardCount: 2
mongodsPerShardCount: 3
mongosCount: 2
configServerCount: 3
manager:
# Corresponds to `spec.opsManager.configMapRef.name`
# More info: https://docs.mongodb.com/kubernetes-operator/stable/reference/k8s-operator-specification/#spec.opsManager.configMapRef.name
configMapRef: my-project
# Corresponds to `spec.credentials`
# More info: https://docs.mongodb.com/kubernetes-operator/stable/reference/k8s-operator-specification/#spec.credentials
credentials: my-credentials
backup:
mode: disabled
podSpec:
# This is a corev1.PodTemplate resource structure that will be used
# by the Operator to override the default configuration for Pods in the
# StatefulSets.
podTemplate:
spec:
containers:
- name: mongodb-enterprise-database
# For more information about Pod and container resource management, see:
# https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
limits:
cpu: "0.25"
memory: 512M
persistence:
multiple:
data:
storage: 10Gi
journal:
storage: 1Gi
logs:
storage: 500M
# The following attributes allow you to change the configuration of a
# MongoDB Sharded Cluster.
# Find more information about Sharded Clusters here:
# - https://docs.mongodb.com/manual/core/sharded-cluster-components/
#
# You can learn about these attributes and how the change the structure
# of your Sharded Cluster in here:
# - https://docs.mongodb.com/kubernetes-operator/stable/reference/k8s-operator-specification
configSrvPodSpec: {}
shardPodSpec: {}
mongosPodSpec: {}