3c04b429cd057e5b9c6b4e56d14b52587a62205e
[oom.git] / kubernetes / common / mongo / values.yaml
1 # Copyright © 2018 Orange
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   persistence: {}
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28
29 dockerHubRepository: registry.hub.docker.com
30 image: library/mongo:4.0.8
31 pullPolicy: Always
32
33 # application configuration
34 config:
35   dbName: mongo
36 # default number of instances
37 replicaCount: 1
38
39 nodeSelector: {}
40
41 affinity: {}
42
43 # probe configuration parameters
44 liveness:
45   initialDelaySeconds: 30
46   periodSeconds: 10
47   timeoutSeconds: 5
48   # necessary to disable liveness probe when setting breakpoints
49   # in debugger so K8s doesn't restart unresponsive container
50   enabled: true
51
52 readiness:
53   initialDelaySeconds: 5
54   periodSeconds: 10
55
56 ## Persist data to a persitent volume
57 persistence:
58   enabled: false
59
60   ## A manually managed Persistent Volume and Claim
61   ## Requires persistence.enabled: true
62   ## If defined, PVC must be created manually before volume will be bound
63   # existingClaim:
64   volumeReclaimPolicy: Retain
65
66   ## database data Persistent Volume Storage Class
67   ## If defined, storageClassName: <storageClass>
68   ## If set to "-", storageClassName: "", which disables dynamic provisioning
69   ## If undefined (the default) or set to null, no storageClassName spec is
70   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
71   ##   GKE, AWS & OpenStack)
72   accessMode: ReadWriteOnce
73   size: 1Gi
74   mountPath: /dockerdata-nfs
75   mountSubPath: "mongo/data"
76
77 service:
78   name: mongo
79   portName: mongo
80   internalPort: 27017
81   # nfs provisioner ports
82   nfsPort: 2049
83   mountdPort: 20048
84   rpcbindPort: 111
85   rpcbindUdpPort: 111
86
87 ingress:
88   enabled: false
89
90 resources: {}
91   # We usually recommend not to specify default resources and to leave this as a conscious
92   # choice for the user. This also increases chances charts run on environments with little
93   # resources, such as Minikube. If you do want to specify resources, uncomment the following
94   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
95   #
96   # Example:
97   # Configure resource requests and limits
98   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
99   # Minimum memory for development is 2 CPU cores and 4GB memory
100   # Minimum memory for production is 4 CPU cores and 8GB memory
101 #resources:
102 #  limits:
103 #    cpu: 2
104 #    memory: 4Gi
105 #  requests:
106 #    cpu: 2
107 #    memory: 4Gi
108
109 sdnctlPrefix: mongo
110
111 geoEnabled: false
112 geoSiteId: 1