Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada, Orange |
| 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 | persistence: {} |
| 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
| 26 | repository: nexus3.onap.org:10001 |
Sylvain Desbureaux | 2c2599f | 2019-04-04 09:11:27 +0200 | [diff] [blame] | 27 | image: mariadb:10.3.14 |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 28 | pullPolicy: Always |
| 29 | |
| 30 | # flag to enable debugging - application support required |
| 31 | debugEnabled: false |
| 32 | |
| 33 | # application configuration |
| 34 | # Example: |
| 35 | config: |
| 36 | db: |
| 37 | user: nbi_user |
| 38 | password: nbi_user |
| 39 | root_password: change_me |
| 40 | database: maria |
| 41 | # default number of instances |
| 42 | replicaCount: 1 |
| 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
| 50 | initialDelaySeconds: 10 |
| 51 | periodSeconds: 10 |
| 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: 10 |
| 58 | periodSeconds: 10 |
| 59 | |
| 60 | ## Persist data to a persitent volume |
| 61 | persistence: |
| 62 | enabled: true |
| 63 | volumeReclaimPolicy: Retain |
Sylvain Desbureaux | 881d14c | 2019-08-29 15:55:28 +0200 | [diff] [blame^] | 64 | accessMode: ReadWriteOnce |
Sylvain Desbureaux | e44d170 | 2018-05-07 20:39:16 +0200 | [diff] [blame] | 65 | size: 2Gi |
| 66 | mountPath: /dockerdata-nfs |
| 67 | mountSubPath: mariadb/data |
| 68 | |
| 69 | service: |
| 70 | type: ClusterIP |
| 71 | name: policydb |
| 72 | portName: policydb |
| 73 | internalPort: 3306 |
| 74 | |
| 75 | ingress: |
| 76 | enabled: false |
| 77 | |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 78 | # Resource Limit flavor |
| 79 | flavor: small |
| 80 | resources: |
| 81 | small: |
| 82 | limits: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 83 | cpu: 1 |
Eric Debeau | f34fa13 | 2018-09-29 11:42:01 +0000 | [diff] [blame] | 84 | memory: 500Mi |
| 85 | requests: |
| 86 | cpu: 10m |
| 87 | memory: 200Mi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 88 | large: |
| 89 | limits: |
Eric Debeau | f34fa13 | 2018-09-29 11:42:01 +0000 | [diff] [blame] | 90 | cpu: 1 |
| 91 | memory: 1Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 92 | requests: |
Eric Debeau | f34fa13 | 2018-09-29 11:42:01 +0000 | [diff] [blame] | 93 | cpu: 20m |
| 94 | memory: 400Mi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 95 | unlimited: {} |