1 # Copyright © 2018 Orange
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
27 image: library/mongo:4.0.8
30 # application configuration
33 # default number of instances
40 # probe configuration parameters
42 initialDelaySeconds: 30
45 # necessary to disable liveness probe when setting breakpoints
46 # in debugger so K8s doesn't restart unresponsive container
50 initialDelaySeconds: 5
53 ## Persist data to a persitent volume
57 ## A manually managed Persistent Volume and Claim
58 ## Requires persistence.enabled: true
59 ## If defined, PVC must be created manually before volume will be bound
61 volumeReclaimPolicy: Retain
63 ## database data Persistent Volume Storage Class
64 ## If defined, storageClassName: <storageClass>
65 ## If set to "-", storageClassName: "", which disables dynamic provisioning
66 ## If undefined (the default) or set to null, no storageClassName spec is
67 ## set, choosing the default provisioner. (gp2 on AWS, standard on
68 ## GKE, AWS & OpenStack)
69 accessMode: ReadWriteOnce
71 mountPath: /dockerdata-nfs
72 mountSubPath: "mongo/data"
78 # nfs provisioner ports
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:'.
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