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