adding unlimited resource limit
[oom.git] / kubernetes / clamp / charts / mariadb / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global: # global defaults
20   nodePortPrefix: 302
21
22   persistence: {}
23
24 # application image
25 repository: nexus3.onap.org:10001
26 image: mariadb:10.1.11
27 pullPolicy: Always
28
29 #################################################################
30 # Application configuration defaults.
31 #################################################################
32 config:
33   mysqlPassword: strong_pitchou
34
35 # default number of instances
36 replicaCount: 1
37
38 nodeSelector: {}
39
40 affinity: {}
41
42 # probe configuration parameters
43 liveness:
44   initialDelaySeconds: 10
45   periodSeconds: 10
46   # necessary to disable liveness probe when setting breakpoints
47   # in debugger so K8s doesn't restart unresponsive container
48   enabled: true
49
50 readiness:
51   initialDelaySeconds: 10
52   periodSeconds: 10
53
54 ## Persist data to a persitent volume
55 persistence:
56   enabled: true
57
58   ## A manually managed Persistent Volume and Claim
59   ## Requires persistence.enabled: true
60   ## If defined, PVC must be created manually before volume will be bound
61   # existingClaim:
62   volumeReclaimPolicy: Retain
63
64   ## database data Persistent Volume Storage Class
65   ## If defined, storageClassName: <storageClass>
66   ## If set to "-", storageClassName: "", which disables dynamic provisioning
67   ## If undefined (the default) or set to null, no storageClassName spec is
68   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
69   ##   GKE, AWS & OpenStack)
70   ##
71   # storageClass: "-"
72   accessMode: ReadWriteMany
73   size: 2Gi
74   mountPath: /dockerdata-nfs
75   mountSubPath: clamp/mariadb/data
76
77 service:
78   type: ClusterIP
79   name: clampdb
80   portName: clampdb
81   internalPort: 3306
82   externalPort: 3306
83
84
85 ingress:
86   enabled: false
87
88
89 #resources: {}
90   # We usually recommend not to specify default resources and to leave this as a conscious
91   # choice for the user. This also increases chances charts run on environments with little
92   # resources, such as Minikube. If you do want to specify resources, uncomment the following
93   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
94   #
95   # Example:
96   # Configure resource requests and limits
97   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
98   # Minimum memory for development is 2 CPU cores and 4GB memory
99   # Minimum memory for production is 4 CPU cores and 8GB memory
100 resources:
101   limits:
102     cpu: 1
103     memory: 500Mi
104   requests:
105     cpu: 10m
106     memory: 200Mi