mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 2 | # Modifications Copyright © 2018-2019 AT&T |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 21 | persistence: {} |
| 22 | |
| 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | # application image |
| 27 | repository: nexus3.onap.org:10001 |
jhh | 9b28e0e | 2019-06-26 22:24:28 -0500 | [diff] [blame] | 28 | image: mariadb:10.2.25 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 29 | pullPolicy: Always |
| 30 | |
| 31 | # flag to enable debugging - application support required |
| 32 | debugEnabled: false |
| 33 | |
| 34 | # application configuration |
| 35 | # Example: |
| 36 | config: |
| 37 | mysqlRootPassword: secret |
| 38 | mysqlUserName: policy_user |
| 39 | mysqlPassword: policy_user |
| 40 | # default number of instances |
| 41 | replicaCount: 1 |
| 42 | |
| 43 | nodeSelector: {} |
| 44 | |
| 45 | affinity: {} |
| 46 | |
| 47 | # probe configuration parameters |
| 48 | liveness: |
BorislavG | 16fc760 | 2018-06-13 10:57:51 +0000 | [diff] [blame] | 49 | initialDelaySeconds: 120 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 50 | periodSeconds: 10 |
| 51 | # necessary to disable liveness probe when setting breakpoints |
| 52 | # in debugger so K8s doesn't restart unresponsive container |
| 53 | enabled: true |
| 54 | |
| 55 | readiness: |
BorislavG | 16fc760 | 2018-06-13 10:57:51 +0000 | [diff] [blame] | 56 | initialDelaySeconds: 120 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 57 | periodSeconds: 10 |
| 58 | |
| 59 | ## Persist data to a persitent volume |
| 60 | persistence: |
| 61 | enabled: true |
| 62 | volumeReclaimPolicy: Retain |
Sylvain Desbureaux | dfa9a9b | 2019-08-29 17:35:51 +0200 | [diff] [blame] | 63 | accessMode: ReadWriteOnce |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 64 | size: 2Gi |
| 65 | mountPath: /dockerdata-nfs |
| 66 | mountSubPath: mariadb/data |
| 67 | |
| 68 | service: |
| 69 | type: ClusterIP |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 70 | name: policydb |
| 71 | portName: policydb |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 72 | externalPort: 3306 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 73 | internalPort: 3306 |
| 74 | |
| 75 | ingress: |
| 76 | enabled: false |
| 77 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 78 | # Resource Limit flavor -By Default using small |
| 79 | flavor: small |
| 80 | # Segregation for Different environment (Small and Large) |
| 81 | resources: |
| 82 | small: |
| 83 | limits: |
| 84 | cpu: 1 |
| 85 | memory: 2Gi |
| 86 | requests: |
| 87 | cpu: 10m |
| 88 | memory: 0.5Gi |
| 89 | large: |
| 90 | limits: |
| 91 | cpu: 2 |
| 92 | memory: 4Gi |
| 93 | requests: |
| 94 | cpu: 20m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 95 | memory: 1Gi |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 96 | unlimited: {} |