vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 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. |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 14 | # Default values for mariadb. |
| 15 | # This is a YAML-formatted file. |
| 16 | # Declare variables to be passed into your templates. |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 17 | ################################################################# |
| 18 | # Global configuration defaults. |
| 19 | ################################################################# |
| 20 | global: |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 21 | nodePortPrefix: 302 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 22 | nodePortPrefixExt: 304 |
| 23 | repository: nexus3.onap.org:10001 |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 24 | readinessRepository: oomk8s |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 25 | readinessImage: readiness-check:2.0.0 |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 26 | ubuntuInitRepository: registry.hub.docker.com |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 27 | persistence: |
| 28 | mountPath: /dockerdata-nfs |
| 29 | |
| 30 | ################################################################# |
| 31 | # Application configuration defaults. |
| 32 | ################################################################# |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 33 | # application image |
| 34 | repository: nexus3.onap.org:10001 |
| 35 | image: mariadb:10.1.11 |
| 36 | pullPolicy: Always |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 37 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 38 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 39 | # application configuration |
| 40 | config: |
| 41 | mariadbRootPassword: password |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 42 | # gerrit branch where the latest heat code is checked in |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 43 | gerritBranch: master |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 44 | # gerrit project where the latest heat code is checked in |
| 45 | gerritProject: http://gerrit.onap.org/r/so/docker-config.git |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 46 | # default number of instances |
| 47 | replicaCount: 1 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 48 | nodeSelector: {} |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 49 | affinity: {} |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 50 | # probe configuration parameters |
| 51 | liveness: |
Gary Wu | 6f396eb | 2018-06-07 04:43:32 -0700 | [diff] [blame] | 52 | initialDelaySeconds: 450 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 53 | 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 Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 57 | readiness: |
Gary Wu | 6f396eb | 2018-06-07 04:43:32 -0700 | [diff] [blame] | 58 | initialDelaySeconds: 450 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 59 | periodSeconds: 10 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 60 | ## Persist data to a persitent volume |
| 61 | persistence: |
| 62 | enabled: true |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 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 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 68 | ## 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 Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 80 | service: |
| 81 | type: NodePort |
Mike Elliott | 282751f | 2018-04-19 17:24:08 -0400 | [diff] [blame] | 82 | portName: mariadb |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 83 | internalPort: 3306 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 84 | externalPort: 3306 |
Mike Elliott | 282751f | 2018-04-19 17:24:08 -0400 | [diff] [blame] | 85 | nodePort: 52 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 86 | ingress: |
| 87 | enabled: false |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 88 | # Resource Limit flavor |
| 89 | flavor: small |
| 90 | resources: |
| 91 | small: |
| 92 | limits: |
| 93 | cpu: 2 |
| 94 | memory: 4Gi |
| 95 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 96 | cpu: 1 |
| 97 | memory: 2Gi |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 98 | large: |
| 99 | limits: |
| 100 | cpu: 4 |
| 101 | memory: 8Gi |
| 102 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 103 | cpu: 2 |
| 104 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 105 | unlimited: {} |