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 |
Alexis de Talhouët | 697e996 | 2018-09-19 11:58:29 -0400 | [diff] [blame] | 31 | image: onap/portal-app:2.3.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 |
| 66 | |
| 67 | mariadb: |
Mandeep Khinda | f8b8f07 | 2018-04-26 14:35:38 +0000 | [diff] [blame] | 68 | service: |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 69 | name: portal-db |
| 70 | widget: |
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-widget |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 73 | cassandra: |
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-cassandra |
| 76 | config: |
| 77 | cassandraUsername: root |
| 78 | cassandraPassword: Aa123456 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 79 | zookeeper: |
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: portal-zookeeper |
| 82 | messageRouter: |
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: message-router |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 85 | |
| 86 | ingress: |
| 87 | enabled: false |
| 88 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame^] | 89 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 90 | flavor: small |
| 91 | # Segregation for Different environment (Small and Large) |
| 92 | resources: |
| 93 | small: |
| 94 | limits: |
| 95 | cpu: 2 |
| 96 | memory: 10Gi |
| 97 | requests: |
| 98 | cpu: 1 |
| 99 | memory: 6Gi |
| 100 | large: |
| 101 | limits: |
| 102 | cpu: 4 |
| 103 | memory: 15Gi |
| 104 | requests: |
| 105 | cpu: 2 |
| 106 | memory: 8Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame^] | 107 | unlimited: {} |