Correct resources limit for mariadb
[oom.git] / kubernetes / nbi / charts / mariadb / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada, 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
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 # application image
26 repository: nexus3.onap.org:10001
27 image: mariadb:10.2.14
28 pullPolicy: Always
29
30 # flag to enable debugging - application support required
31 debugEnabled: false
32
33 # application configuration
34 # Example:
35 config:
36   db:
37     user: nbi_user
38     password: nbi_user
39     root_password: change_me
40     database: maria
41 # default number of instances
42 replicaCount: 1
43
44 nodeSelector: {}
45
46 affinity: {}
47
48 # probe configuration parameters
49 liveness:
50   initialDelaySeconds: 10
51   periodSeconds: 10
52   # necessary to disable liveness probe when setting breakpoints
53   # in debugger so K8s doesn't restart unresponsive container
54   enabled: true
55
56 readiness:
57   initialDelaySeconds: 10
58   periodSeconds: 10
59
60 ## Persist data to a persitent volume
61 persistence:
62   enabled: true
63   volumeReclaimPolicy: Retain
64   accessMode: ReadWriteMany
65   size: 2Gi
66   mountPath: /dockerdata-nfs
67   mountSubPath: mariadb/data
68
69 service:
70   type: ClusterIP
71   name: policydb
72   portName: policydb
73   internalPort: 3306
74
75 ingress:
76   enabled: false
77
78 # Resource Limit flavor
79 flavor: small
80 resources:
81   small:
82     limits:
83       cpu: 1
84       memory: 500Mi
85     requests:
86       cpu: 10m
87       memory: 200Mi
88   large:
89     limits:
90       cpu: 1
91       memory: 1Gi
92     requests:
93       cpu: 20m
94       memory: 400Mi
95   unlimited: {}