Merge "clamphealth check"
[oom.git] / kubernetes / common / mysql / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
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   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28
29 dockerHubRepository: registry.hub.docker.com
30 image: library/mysql:5.7
31 pullPolicy: Always
32
33 # application configuration
34 config:
35   dbRootPassword: openECOMP1.0
36
37 # default number of instances
38 replicaCount: 1
39
40 nodeSelector: {}
41
42 affinity: {}
43
44 disableNfsProvisioner: true
45
46 # probe configuration parameters
47 liveness:
48   initialDelaySeconds: 30
49   periodSeconds: 10
50   timeoutSeconds: 5
51   # necessary to disable liveness probe when setting breakpoints
52   # in debugger so K8s doesn't restart unresponsive container
53   enabled: true
54
55 readiness:
56   initialDelaySeconds: 5
57   periodSeconds: 10
58
59 ## Persist data to a persitent volume
60 persistence:
61   enabled: true
62   
63   ## A manually managed Persistent Volume and Claim
64   ## Requires persistence.enabled: true
65   ## If defined, PVC must be created manually before volume will be bound
66   # existingClaim:
67   volumeReclaimPolicy: Retain
68
69   ## database data Persistent Volume Storage Class
70   ## If defined, storageClassName: <storageClass>
71   ## If set to "-", storageClassName: "", which disables dynamic provisioning
72   ## If undefined (the default) or set to null, no storageClassName spec is
73   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
74   ##   GKE, AWS & OpenStack)
75   accessMode: ReadWriteOnce
76   size: 1Gi
77   mountPath: /dockerdata-nfs
78   mountSubPath: "mysql/data"
79   mysqlPath: /var/lib/mysql
80
81 service:
82   name: mysql
83   portName: mysql
84   internalPort: 3306
85   # nfs provisioner ports
86   nfsPort: 2049
87   mountdPort: 20048
88   rpcbindPort: 111
89   rpcbindUdpPort: 111
90
91 ingress:
92   enabled: false
93
94 resources: {}
95   # We usually recommend not to specify default resources and to leave this as a conscious
96   # choice for the user. This also increases chances charts run on environments with little
97   # resources, such as Minikube. If you do want to specify resources, uncomment the following
98   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
99   #
100   # Example:
101   # Configure resource requests and limits
102   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
103   # Minimum memory for development is 2 CPU cores and 4GB memory 
104   # Minimum memory for production is 4 CPU cores and 8GB memory 
105 #resources:
106 #  limits:
107 #    cpu: 2
108 #    memory: 4Gi
109 #  requests:
110 #    cpu: 2
111 #    memory: 4Gi
112
113 #################################################################
114 # Sidecar Configuration.
115 #
116 # xtrabackup configuration defaults.
117 #################################################################
118 xtrabackupRepository: gcr.io/google-samples
119 xtrabackupImage: xtrabackup:1.0
120 xtrabackup:
121   internalPort: 3307
122
123 nfsprovisionerRepository: quay.io
124 nfsprovisionerImage: kubernetes_incubator/nfs-provisioner:v1.0.8
125 nfsprovisionerPrefix: mysql
126
127 sdnctlPrefix: mysql
128
129 geoEnabled: false
130 geoSiteId: 1