blob: 223234fa86c1a2adfe1eb30eaeea2dfa23cd5652 [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 Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020022
23
24#################################################################
25# Application configuration defaults.
26#################################################################
27
Sylvain Desbureaux23a38b32020-11-20 08:57:12 +010028dockerHubRepository: docker.io
Sylvain Desbureaux2c2599f2019-04-04 09:11:27 +020029image: library/mongo:4.0.8
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020030pullPolicy: Always
31
32# application configuration
33config:
34 dbName: mongo
35# default number of instances
36replicaCount: 1
37
38nodeSelector: {}
39
40affinity: {}
41
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020042# probe configuration parameters
43liveness:
44 initialDelaySeconds: 30
45 periodSeconds: 10
46 timeoutSeconds: 5
47 # necessary to disable liveness probe when setting breakpoints
48 # in debugger so K8s doesn't restart unresponsive container
49 enabled: true
50
51readiness:
52 initialDelaySeconds: 5
53 periodSeconds: 10
54
55## Persist data to a persitent volume
56persistence:
57 enabled: false
58
59 ## A manually managed Persistent Volume and Claim
60 ## Requires persistence.enabled: true
61 ## If defined, PVC must be created manually before volume will be bound
62 # existingClaim:
63 volumeReclaimPolicy: Retain
64
65 ## database data Persistent Volume Storage Class
66 ## If defined, storageClassName: <storageClass>
67 ## If set to "-", storageClassName: "", which disables dynamic provisioning
68 ## If undefined (the default) or set to null, no storageClassName spec is
69 ## set, choosing the default provisioner. (gp2 on AWS, standard on
70 ## GKE, AWS & OpenStack)
Sylvain Desbureaux881d14c2019-08-29 15:55:28 +020071 accessMode: ReadWriteOnce
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020072 size: 1Gi
73 mountPath: /dockerdata-nfs
74 mountSubPath: "mongo/data"
75
76service:
77 name: mongo
78 portName: mongo
79 internalPort: 27017
80 # nfs provisioner ports
81 nfsPort: 2049
82 mountdPort: 20048
83 rpcbindPort: 111
84 rpcbindUdpPort: 111
85
Krzysztof Opasiak86a28cd2020-09-09 21:23:32 +020086securityContext:
87 user_id: 999
88 group_id: 999
89
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020090ingress:
91 enabled: false
92
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020093 # We usually recommend not to specify default resources and to leave this as a conscious
94 # choice for the user. This also increases chances charts run on environments with little
95 # resources, such as Minikube. If you do want to specify resources, uncomment the following
96 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
97 #
98 # Example:
99 # Configure resource requests and limits
100 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
101 # Minimum memory for development is 2 CPU cores and 4GB memory
102 # Minimum memory for production is 4 CPU cores and 8GB memory
Sylvain Desbureauxc27b6a32020-09-23 10:39:31 +0200103resources:
104 small:
105 limits:
106 cpu: 100m
107 memory: 200Mi
108 requests:
109 cpu: 10m
110 memory: 50Mi
111 large:
112 limits:
113 cpu: 2
114 memory: 4Gi
115 requests:
116 cpu: 1
117 memory: 2Gi
118 unlimited: {}
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200119
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200120sdnctlPrefix: mongo
121
122geoEnabled: false
123geoSiteId: 1