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 |
statta | 3e87e3a | 2019-04-23 13:21:59 -0400 | [diff] [blame^] | 31 | image: onap/portal-app:2.5.0-STAGING-latest |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 34 | # default number of instances |
| 35 | replicaCount: 1 |
| 36 | |
| 37 | nodeSelector: {} |
| 38 | |
| 39 | affinity: {} |
| 40 | |
| 41 | # probe configuration parameters |
| 42 | liveness: |
| 43 | initialDelaySeconds: 10 |
| 44 | periodSeconds: 10 |
| 45 | # necessary to disable liveness probe when setting breakpoints |
| 46 | # in debugger so K8s doesn't restart unresponsive container |
| 47 | enabled: true |
| 48 | |
| 49 | readiness: |
| 50 | initialDelaySeconds: 10 |
| 51 | periodSeconds: 10 |
| 52 | |
| 53 | service: |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 54 | type: LoadBalancer |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 55 | name: portal-app |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 56 | portName: portal-app |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 57 | externalPort: 8989 |
| 58 | internalPort: 8080 |
| 59 | nodePort: 15 |
| 60 | externalPort2: 8006 |
| 61 | internalPort2: 8005 |
| 62 | nodePort2: 13 |
| 63 | externalPort3: 8010 |
| 64 | internalPort3: 8009 |
| 65 | nodePort3: 14 |
st782s | bd2c612 | 2018-09-28 17:56:29 -0400 | [diff] [blame] | 66 | externalPort4: 8443 |
| 67 | internalPort4: 8443 |
root | daead43 | 2018-10-04 15:38:18 -0400 | [diff] [blame] | 68 | nodePort4: 25 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 69 | |
| 70 | mariadb: |
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-db |
| 73 | widget: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 74 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 75 | name: portal-widget |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 76 | cassandra: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 77 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 78 | name: portal-cassandra |
| 79 | config: |
| 80 | cassandraUsername: root |
| 81 | cassandraPassword: Aa123456 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 82 | zookeeper: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 83 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 84 | name: portal-zookeeper |
| 85 | messageRouter: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 86 | service: |
Mandeep Khinda | 454e2fd | 2018-04-06 03:03:24 +0000 | [diff] [blame] | 87 | name: message-router |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 88 | |
| 89 | ingress: |
| 90 | enabled: false |
| 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: |
| 98 | cpu: 2 |
| 99 | memory: 10Gi |
| 100 | requests: |
| 101 | cpu: 1 |
| 102 | memory: 6Gi |
| 103 | large: |
| 104 | limits: |
| 105 | cpu: 4 |
| 106 | memory: 15Gi |
| 107 | requests: |
| 108 | cpu: 2 |
| 109 | memory: 8Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 110 | unlimited: {} |