blob: 8ea7e13286154475c60df6222e6558270f14e6be [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# 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.
Mike Elliottd32d36e2018-02-12 15:54:03 -050014# Default values for mariadb.
15# This is a YAML-formatted file.
16# Declare variables to be passed into your templates.
17global: # global defaults
18 nodePortPrefix: 302
Mike Elliottd32d36e2018-02-12 15:54:03 -050019 persistence: {}
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000020 readinessRepository: oomk8s
21 ubuntuInitRepository: registry.hub.docker.com
Mike Elliottd32d36e2018-02-12 15:54:03 -050022# application image
23repository: nexus3.onap.org:10001
24image: mariadb:10.1.11
25pullPolicy: Always
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000026ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
Mike Elliottd32d36e2018-02-12 15:54:03 -050027# application configuration
28config:
29 mariadbRootPassword: password
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000030 # gerrit branch where the latest heat code is checked in
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000031 gerritBranch: master
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000032 # gerrit project where the latest heat code is checked in
33 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
Mike Elliottd32d36e2018-02-12 15:54:03 -050034# default number of instances
35replicaCount: 1
Mike Elliottd32d36e2018-02-12 15:54:03 -050036nodeSelector: {}
Mike Elliottd32d36e2018-02-12 15:54:03 -050037affinity: {}
Mike Elliottd32d36e2018-02-12 15:54:03 -050038# probe configuration parameters
39liveness:
Gary Wu6f396eb2018-06-07 04:43:32 -070040 initialDelaySeconds: 450
Mike Elliottd32d36e2018-02-12 15:54:03 -050041 periodSeconds: 10
42 # necessary to disable liveness probe when setting breakpoints
43 # in debugger so K8s doesn't restart unresponsive container
44 enabled: true
Mike Elliottd32d36e2018-02-12 15:54:03 -050045readiness:
Gary Wu6f396eb2018-06-07 04:43:32 -070046 initialDelaySeconds: 450
Mike Elliottd32d36e2018-02-12 15:54:03 -050047 periodSeconds: 10
Mike Elliottd32d36e2018-02-12 15:54:03 -050048## Persist data to a persitent volume
49persistence:
50 enabled: true
Mike Elliottd32d36e2018-02-12 15:54:03 -050051 ## A manually managed Persistent Volume and Claim
52 ## Requires persistence.enabled: true
53 ## If defined, PVC must be created manually before volume will be bound
54 # existingClaim:
55 volumeReclaimPolicy: Retain
Mike Elliottd32d36e2018-02-12 15:54:03 -050056 ## database data Persistent Volume Storage Class
57 ## If defined, storageClassName: <storageClass>
58 ## If set to "-", storageClassName: "", which disables dynamic provisioning
59 ## If undefined (the default) or set to null, no storageClassName spec is
60 ## set, choosing the default provisioner. (gp2 on AWS, standard on
61 ## GKE, AWS & OpenStack)
62 ##
63 # storageClass: "-"
64 accessMode: ReadWriteMany
65 size: 2Gi
66 mountPath: /dockerdata-nfs
67 mountSubPath: mso/mariadb/data
Mike Elliottd32d36e2018-02-12 15:54:03 -050068service:
69 type: NodePort
Mike Elliott282751f2018-04-19 17:24:08 -040070 portName: mariadb
Mike Elliottd32d36e2018-02-12 15:54:03 -050071 internalPort: 3306
Mike Elliott282751f2018-04-19 17:24:08 -040072 nodePort: 52
Mike Elliottd32d36e2018-02-12 15:54:03 -050073ingress:
74 enabled: false
vaibhav16dec0da88292018-08-13 06:10:27 +000075# Resource Limit flavor
76flavor: small
77resources:
78 small:
79 limits:
80 cpu: 2
81 memory: 4Gi
82 requests:
83 cpu: 2
84 memory: 4Gi
85 large:
86 limits:
87 cpu: 4
88 memory: 8Gi
89 requests:
90 cpu: 4
91 memory: 8Gi