Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +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 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +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 |
Welch, Lorraine (lb2391) | 6778510 | 2019-09-18 13:41:36 -0400 | [diff] [blame] | 31 | image: onap/portal-sdk:2.6.0 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
| 37 | # default number of instances |
| 38 | replicaCount: 1 |
| 39 | |
| 40 | nodeSelector: {} |
| 41 | |
| 42 | affinity: {} |
| 43 | |
| 44 | # probe configuration parameters |
| 45 | liveness: |
| 46 | initialDelaySeconds: 10 |
| 47 | periodSeconds: 10 |
| 48 | # necessary to disable liveness probe when setting breakpoints |
| 49 | # in debugger so K8s doesn't restart unresponsive container |
| 50 | enabled: true |
| 51 | |
| 52 | readiness: |
| 53 | initialDelaySeconds: 10 |
| 54 | periodSeconds: 10 |
| 55 | |
| 56 | service: |
hb123f | b53c6a3 | 2018-07-12 14:21:16 -0400 | [diff] [blame] | 57 | type: NodePort |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 58 | name: portal-sdk |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 59 | portName: portal-sdk |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 60 | internalPort: 8080 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 61 | externalPort: 8080 |
BorislavG | cdbd3ab | 2018-07-17 08:42:23 +0000 | [diff] [blame] | 62 | nodePort: 12 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 63 | |
| 64 | mariadb: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 65 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 66 | name: portal-db |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 67 | widget: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 68 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 69 | name: portal-widget |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 70 | cassandra: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 71 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 72 | name: portal-cassandra |
| 73 | config: |
| 74 | cassandraUsername: root |
| 75 | cassandraPassword: Aa123456 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 76 | zookeeper: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 77 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 78 | name: portal-zookeeper |
| 79 | messageRouter: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 80 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 81 | name: message-router |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 82 | |
| 83 | ingress: |
| 84 | enabled: false |
Lucjan Bryndza | ac1080a | 2019-11-26 13:04:47 +0100 | [diff] [blame] | 85 | service: |
| 86 | - baseaddr: portalsdk |
| 87 | name: "portal-sdk" |
| 88 | port: 8080 |
| 89 | config: |
| 90 | ssl: "none" |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 91 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 92 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 93 | flavor: small |
| 94 | # Segregation for Different environment (Small and Large) |
| 95 | resources: |
| 96 | small: |
| 97 | limits: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 98 | cpu: 600m |
| 99 | memory: 1.6Gi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 100 | requests: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 101 | cpu: 10m |
| 102 | memory: 1.3Gi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 103 | large: |
| 104 | limits: |
| 105 | cpu: 8 |
| 106 | memory: 20Gi |
| 107 | requests: |
| 108 | cpu: 4 |
| 109 | memory: 10Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 110 | unlimited: {} |