6805aa5e6c16d06a545384fcb26f3ad1698af196
[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   type: NodePort
91   nodeport1: 72
92   nodeport2: 73
93
94 ingress:
95   enabled: false
96
97 resources: {}
98   # We usually recommend not to specify default resources and to leave this as a conscious
99   # choice for the user. This also increases chances charts run on environments with little
100   # resources, such as Minikube. If you do want to specify resources, uncomment the following
101   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
102   #
103   # Example:
104   # Configure resource requests and limits
105   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
106   # Minimum memory for development is 2 CPU cores and 4GB memory 
107   # Minimum memory for production is 4 CPU cores and 8GB memory 
108 #resources:
109 #  limits:
110 #    cpu: 2
111 #    memory: 4Gi
112 #  requests:
113 #    cpu: 2
114 #    memory: 4Gi
115
116 #################################################################
117 # Sidecar Configuration.
118 #
119 # xtrabackup configuration defaults.
120 #################################################################
121 xtrabackupRepository: gcr.io/google-samples
122 xtrabackupImage: xtrabackup:1.0
123 xtrabackup:
124   internalPort: 3307
125
126 nfsprovisionerRepository: quay.io
127 nfsprovisionerImage: kubernetes_incubator/nfs-provisioner:v1.0.8
128 nfsprovisionerPrefix: mysql
129
130 sdnctlPrefix: mysql
131
132 geoEnabled: false
133 geoSiteId: 1