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. |
| 14 | |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | repository: nexus3.onap.org:10001 |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
Gary Wu | 4662166 | 2018-05-30 14:30:47 -0700 | [diff] [blame] | 31 | image: onap/vnfsdk/refrepo:1.1.1 |
jasmineWen | fb56f0f | 2018-08-29 15:55:28 +0000 | [diff] [blame] | 32 | postgresRepository: crunchydata |
| 33 | postgresImage: crunchy-postgres:centos7-10.3-1.8.2 |
Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 34 | pullPolicy: Always |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 35 | |
jasmineWen | fb56f0f | 2018-08-29 15:55:28 +0000 | [diff] [blame] | 36 | # application configuration override for postgres |
| 37 | postgres: |
jasmineWen | 04aef9a | 2018-04-24 15:56:27 +0000 | [diff] [blame] | 38 | nameOverride: vnfsdk-postgres |
jasmineWen | fb56f0f | 2018-08-29 15:55:28 +0000 | [diff] [blame] | 39 | service: |
| 40 | name: vnfsdk-dbset |
| 41 | name2: vnfsdk-dbpri |
| 42 | name3: vnfsdk-dbrep |
| 43 | container: |
| 44 | name: |
| 45 | primary: vnfsdk-dbpri |
| 46 | replica: vnfsdk-dbrep |
| 47 | persistence: |
| 48 | mountSubPath: vnfsdk/data |
| 49 | mountInitPath: vnfsdk |
| 50 | config: |
| 51 | pgUserName: postgres |
| 52 | pgDatabase: postgres |
| 53 | pgPrimaryPassword: postgres |
| 54 | pgUserPassword: postgres |
| 55 | pgRootPassword: postgres |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 56 | |
| 57 | # flag to enable debugging - application support required |
| 58 | debugEnabled: false |
| 59 | |
| 60 | nodeSelector: {} |
| 61 | |
| 62 | affinity: {} |
| 63 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame^] | 64 | # Resource Limit flavor -By Default using small |
vaibhav_16dec | 0acf518 | 2018-09-19 04:28:55 +0000 | [diff] [blame] | 65 | flavor: small |
| 66 | # Segregation for Different environment (Small and Large) |
| 67 | resources: |
| 68 | small: |
| 69 | limits: |
| 70 | cpu: 2000m |
| 71 | memory: 4Gi |
| 72 | requests: |
| 73 | cpu: 500m |
| 74 | memory: 1Gi |
| 75 | large: |
| 76 | limits: |
| 77 | cpu: 4000m |
| 78 | memory: 8Gi |
| 79 | requests: |
| 80 | cpu: 1000m |
| 81 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame^] | 82 | unlimited: {} |
vaibhav_16dec | 0acf518 | 2018-09-19 04:28:55 +0000 | [diff] [blame] | 83 | |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 84 | # probe configuration parameters |
| 85 | liveness: |
| 86 | initialDelaySeconds: 10 |
| 87 | periodSeconds: 10 |
| 88 | # necessary to disable liveness probe when setting breakpoints |
| 89 | # in debugger so K8s doesn't restart unresponsive container |
| 90 | enabled: true |
| 91 | |
| 92 | readiness: |
| 93 | initialDelaySeconds: 10 |
| 94 | periodSeconds: 10 |
| 95 | |
| 96 | service: |
| 97 | type: NodePort |
| 98 | name: refrepo |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 99 | portName: refrepo |
jasmineWen | 66f6a3b | 2018-04-03 17:48:41 +0000 | [diff] [blame] | 100 | nodePort: 97 |
| 101 | internalPort: 8702 |
| 102 | |
| 103 | ingress: |
| 104 | enabled: false |