jmac | 065e2ce | 2018-03-29 01:18:02 +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 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 20 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | |
| 25 | ################################################################# |
| 26 | # Application configuration defaults. |
| 27 | ################################################################# |
| 28 | # application image |
| 29 | repository: nexus3.onap.org:10001 |
Gary Wu | bc1e731 | 2018-10-18 09:48:31 -0700 | [diff] [blame] | 30 | image: onap/admportal-sdnc-image:1.3.4 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 31 | pullPolicy: Always |
| 32 | |
| 33 | # flag to enable debugging - application support required |
| 34 | debugEnabled: false |
| 35 | |
| 36 | # application configuration |
| 37 | config: |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 38 | mysqlChartName: sdnc-db |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 39 | dbRootPassword: openECOMP1.0 |
jmac | 70863e1 | 2018-05-16 14:53:03 +0000 | [diff] [blame] | 40 | dbSdnctlPassword: gamma |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 41 | sdncChartName: sdnc |
| 42 | configDir: /opt/onap/sdnc/data/properties |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 43 | odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 44 | |
| 45 | # default number of instances |
| 46 | replicaCount: 1 |
| 47 | |
| 48 | nodeSelector: {} |
| 49 | |
| 50 | affinity: {} |
| 51 | |
| 52 | # probe configuration parameters |
| 53 | liveness: |
BorislavG | 8d9337a | 2018-06-13 14:56:54 +0000 | [diff] [blame] | 54 | initialDelaySeconds: 180 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 55 | periodSeconds: 10 |
| 56 | # necessary to disable liveness probe when setting breakpoints |
| 57 | # in debugger so K8s doesn't restart unresponsive container |
| 58 | enabled: true |
| 59 | |
| 60 | readiness: |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 61 | initialDelaySeconds: 60 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 62 | periodSeconds: 10 |
| 63 | |
| 64 | service: |
| 65 | type: NodePort |
| 66 | name: sdnc-portal |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 67 | portName: sdnc-portal |
jmac | 2d276e0 | 2018-04-18 01:25:38 +0000 | [diff] [blame] | 68 | internalPort: 8843 |
| 69 | externalPort: 8843 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 70 | nodePort: "01" |
| 71 | |
| 72 | ingress: |
| 73 | enabled: false |
| 74 | |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 75 | mysql: |
| 76 | service: |
| 77 | name: sdnc-dbhost |
| 78 | internalPort: 3306 |
| 79 | |
toshrajbhardwaj | 72b5f0f | 2018-09-13 02:45:22 +0000 | [diff] [blame] | 80 | #Resource limit flavor -By default using small |
| 81 | flavor: small |
| 82 | #segregation for different environment (small and large) |
| 83 | |
| 84 | resources: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 85 | small: |
| 86 | limits: |
| 87 | cpu: 1 |
| 88 | memory: 1Gi |
| 89 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 90 | cpu: 0.5 |
| 91 | memory: 500Mi |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 92 | large: |
| 93 | limits: |
| 94 | cpu: 2 |
| 95 | memory: 2Gi |
| 96 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 97 | cpu: 1 |
| 98 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 99 | unlimited: {} |