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. |
| 17 | global: # global defaults |
| 18 | nodePortPrefix: 302 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 19 | persistence: {} |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 20 | readinessRepository: oomk8s |
| 21 | ubuntuInitRepository: registry.hub.docker.com |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 22 | # application image |
| 23 | repository: nexus3.onap.org:10001 |
| 24 | image: mariadb:10.1.11 |
| 25 | pullPolicy: Always |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 26 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 27 | # application configuration |
| 28 | config: |
| 29 | mariadbRootPassword: password |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 30 | # gerrit branch where the latest heat code is checked in |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 31 | gerritBranch: master |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 32 | # gerrit project where the latest heat code is checked in |
| 33 | gerritProject: http://gerrit.onap.org/r/so/docker-config.git |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 34 | # default number of instances |
| 35 | replicaCount: 1 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 36 | nodeSelector: {} |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 37 | affinity: {} |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 38 | # probe configuration parameters |
| 39 | liveness: |
Gary Wu | 6f396eb | 2018-06-07 04:43:32 -0700 | [diff] [blame] | 40 | initialDelaySeconds: 450 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 41 | 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 Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 45 | readiness: |
Gary Wu | 6f396eb | 2018-06-07 04:43:32 -0700 | [diff] [blame] | 46 | initialDelaySeconds: 450 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 47 | periodSeconds: 10 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 48 | ## Persist data to a persitent volume |
| 49 | persistence: |
| 50 | enabled: true |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 51 | ## 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 Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 56 | ## 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 Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 68 | service: |
| 69 | type: NodePort |
Mike Elliott | 282751f | 2018-04-19 17:24:08 -0400 | [diff] [blame] | 70 | portName: mariadb |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 71 | internalPort: 3306 |
Mike Elliott | 282751f | 2018-04-19 17:24:08 -0400 | [diff] [blame] | 72 | nodePort: 52 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 73 | ingress: |
| 74 | enabled: false |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 75 | resources: {} |
| 76 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 77 | # choice for the user. This also increases chances charts run on environments with little |
| 78 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 79 | # s, adjust them as necessary, and remove the curly braces after 'resources:'. |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 80 | # |
| 81 | # Example: |
| 82 | # Configure resource requests and limits |
| 83 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 84 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 85 | # Minimum memory for production is 4 CPU cores and 8GB memory |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 86 | #resources: |
| 87 | # limits: |
| 88 | # cpu: 2 |
| 89 | # memory: 4Gi |
| 90 | # requests: |
| 91 | # cpu: 2 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 92 | # memory: 4Gi |