blob: caab71890da2d321f187130dd5c2a1207d6e1c38 [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: {}
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020021
22
23#################################################################
24# Application configuration defaults.
25#################################################################
26
Sylvain Desbureaux47327142021-12-07 11:53:41 +010027image: library/mongo:4.4.10
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020028pullPolicy: Always
29
30# application configuration
31config:
32 dbName: mongo
33# default number of instances
34replicaCount: 1
35
36nodeSelector: {}
37
38affinity: {}
39
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020040# probe configuration parameters
41liveness:
42 initialDelaySeconds: 30
43 periodSeconds: 10
44 timeoutSeconds: 5
45 # necessary to disable liveness probe when setting breakpoints
46 # in debugger so K8s doesn't restart unresponsive container
47 enabled: true
48
49readiness:
50 initialDelaySeconds: 5
51 periodSeconds: 10
52
53## Persist data to a persitent volume
54persistence:
55 enabled: false
56
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
60 # existingClaim:
61 volumeReclaimPolicy: Retain
62
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)
Sylvain Desbureaux881d14c2019-08-29 15:55:28 +020069 accessMode: ReadWriteOnce
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020070 size: 1Gi
71 mountPath: /dockerdata-nfs
72 mountSubPath: "mongo/data"
73
74service:
75 name: mongo
76 portName: mongo
77 internalPort: 27017
78 # nfs provisioner ports
79 nfsPort: 2049
80 mountdPort: 20048
81 rpcbindPort: 111
82 rpcbindUdpPort: 111
83
Krzysztof Opasiak86a28cd2020-09-09 21:23:32 +020084securityContext:
85 user_id: 999
86 group_id: 999
87
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020088ingress:
89 enabled: false
90
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020091 # 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
Sylvain Desbureauxc27b6a32020-09-23 10:39:31 +0200101resources:
102 small:
103 limits:
104 cpu: 100m
105 memory: 200Mi
106 requests:
107 cpu: 10m
108 memory: 50Mi
109 large:
110 limits:
111 cpu: 2
112 memory: 4Gi
113 requests:
114 cpu: 1
115 memory: 2Gi
116 unlimited: {}
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200117
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200118sdnctlPrefix: mongo
119
120geoEnabled: false
121geoSiteId: 1