blob: fa16a7b11e98e983c6a9048186c7ef018b880c2d [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.
jmacc4f04d32018-10-12 18:24:24 +000017#################################################################
18# Global configuration defaults.
19#################################################################
20global:
Mike Elliottd32d36e2018-02-12 15:54:03 -050021 nodePortPrefix: 302
jmacc4f04d32018-10-12 18:24:24 +000022 nodePortPrefixExt: 304
23 repository: nexus3.onap.org:10001
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000024 readinessRepository: oomk8s
jmacc4f04d32018-10-12 18:24:24 +000025 readinessImage: readiness-check:2.0.0
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000026 ubuntuInitRepository: registry.hub.docker.com
jmacc4f04d32018-10-12 18:24:24 +000027 persistence:
28 mountPath: /dockerdata-nfs
29
30#################################################################
31# Application configuration defaults.
32#################################################################
Mike Elliottd32d36e2018-02-12 15:54:03 -050033# application image
34repository: nexus3.onap.org:10001
35image: mariadb:10.1.11
36pullPolicy: Always
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000037ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
jmacc4f04d32018-10-12 18:24:24 +000038
Mike Elliottd32d36e2018-02-12 15:54:03 -050039# application configuration
40config:
41 mariadbRootPassword: password
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000042 # gerrit branch where the latest heat code is checked in
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000043 gerritBranch: master
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000044 # gerrit project where the latest heat code is checked in
45 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
Mike Elliottd32d36e2018-02-12 15:54:03 -050046# default number of instances
47replicaCount: 1
Mike Elliottd32d36e2018-02-12 15:54:03 -050048nodeSelector: {}
Mike Elliottd32d36e2018-02-12 15:54:03 -050049affinity: {}
Mike Elliottd32d36e2018-02-12 15:54:03 -050050# probe configuration parameters
51liveness:
Gary Wu6f396eb2018-06-07 04:43:32 -070052 initialDelaySeconds: 450
Mike Elliottd32d36e2018-02-12 15:54:03 -050053 periodSeconds: 10
54 # necessary to disable liveness probe when setting breakpoints
55 # in debugger so K8s doesn't restart unresponsive container
56 enabled: true
Mike Elliottd32d36e2018-02-12 15:54:03 -050057readiness:
Gary Wu6f396eb2018-06-07 04:43:32 -070058 initialDelaySeconds: 450
Mike Elliottd32d36e2018-02-12 15:54:03 -050059 periodSeconds: 10
Mike Elliottd32d36e2018-02-12 15:54:03 -050060## Persist data to a persitent volume
61persistence:
62 enabled: true
Mike Elliottd32d36e2018-02-12 15:54:03 -050063 ## 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
Mike Elliottd32d36e2018-02-12 15:54:03 -050068 ## database data Persistent Volume Storage Class
69 ## If defined, storageClassName: <storageClass>
70 ## If set to "-", storageClassName: "", which disables dynamic provisioning
71 ## If undefined (the default) or set to null, no storageClassName spec is
72 ## set, choosing the default provisioner. (gp2 on AWS, standard on
73 ## GKE, AWS & OpenStack)
74 ##
75 # storageClass: "-"
76 accessMode: ReadWriteMany
77 size: 2Gi
78 mountPath: /dockerdata-nfs
79 mountSubPath: mso/mariadb/data
Mike Elliottd32d36e2018-02-12 15:54:03 -050080service:
81 type: NodePort
Mike Elliott282751f2018-04-19 17:24:08 -040082 portName: mariadb
Mike Elliottd32d36e2018-02-12 15:54:03 -050083 internalPort: 3306
Mandeep Khindafe527eb2018-10-16 09:56:34 -040084 externalPort: 3306
Mike Elliott282751f2018-04-19 17:24:08 -040085 nodePort: 52
Mike Elliottd32d36e2018-02-12 15:54:03 -050086ingress:
87 enabled: false
vaibhav16dec0da88292018-08-13 06:10:27 +000088# Resource Limit flavor
89flavor: small
90resources:
91 small:
92 limits:
93 cpu: 2
94 memory: 4Gi
95 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +000096 cpu: 1
97 memory: 2Gi
vaibhav16dec0da88292018-08-13 06:10:27 +000098 large:
99 limits:
100 cpu: 4
101 memory: 8Gi
102 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000103 cpu: 2
104 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000105 unlimited: {}