blob: 3c04b429cd057e5b9c6b4e56d14b52587a62205e [file] [log] [blame]
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +02001# 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#################################################################
18global:
19 nodePortPrefix: 302
20 persistence: {}
21 readinessRepository: oomk8s
22 readinessImage: readiness-check:2.0.0
23
24
25#################################################################
26# Application configuration defaults.
27#################################################################
28
29dockerHubRepository: registry.hub.docker.com
Sylvain Desbureaux2c2599f2019-04-04 09:11:27 +020030image: library/mongo:4.0.8
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020031pullPolicy: Always
32
33# application configuration
34config:
35 dbName: mongo
36# default number of instances
37replicaCount: 1
38
39nodeSelector: {}
40
41affinity: {}
42
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020043# probe configuration parameters
44liveness:
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
52readiness:
53 initialDelaySeconds: 5
54 periodSeconds: 10
55
56## Persist data to a persitent volume
57persistence:
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)
Sylvain Desbureaux881d14c2019-08-29 15:55:28 +020072 accessMode: ReadWriteOnce
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020073 size: 1Gi
74 mountPath: /dockerdata-nfs
75 mountSubPath: "mongo/data"
76
77service:
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
87ingress:
88 enabled: false
89
90resources: {}
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
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200109sdnctlPrefix: mongo
110
111geoEnabled: false
112geoSiteId: 1