mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Durgpal | 7ad4069 | 2018-08-03 07:28:36 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 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 |
Jorge Hernandez | d38b89b | 2018-05-03 14:08:42 -0500 | [diff] [blame] | 28 | image: mariadb:10.2.14 |
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 |
| 63 | accessMode: ReadWriteMany |
| 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 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 72 | internalPort: 3306 |
| 73 | |
| 74 | ingress: |
| 75 | enabled: false |
| 76 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 77 | # Resource Limit flavor -By Default using small |
| 78 | flavor: small |
| 79 | # Segregation for Different environment (Small and Large) |
| 80 | resources: |
| 81 | small: |
| 82 | limits: |
| 83 | cpu: 1 |
| 84 | memory: 2Gi |
| 85 | requests: |
| 86 | cpu: 10m |
| 87 | memory: 0.5Gi |
| 88 | large: |
| 89 | limits: |
| 90 | cpu: 2 |
| 91 | memory: 4Gi |
| 92 | requests: |
| 93 | cpu: 20m |
| 94 | memory: 1Gi |