Geora Barsky | 4b328b8 | 2018-08-01 12:02:33 -0400 | [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 |
Geora Barsky | 4b328b8 | 2018-08-01 12:02:33 -0400 | [diff] [blame] | 20 | |
| 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
Gary Wu | 72901cd | 2018-11-15 18:27:40 -0800 | [diff] [blame] | 25 | image: onap/validation:1.3.1 |
Geora Barsky | 4b328b8 | 2018-08-01 12:02:33 -0400 | [diff] [blame] | 26 | #pullPolicy: Always |
| 27 | pullPolicy: IfNotPresent |
| 28 | |
| 29 | # flag to enable debugging - application support required |
| 30 | debugEnabled: false |
| 31 | |
| 32 | # application configuration |
Geora Barsky | 4b328b8 | 2018-08-01 12:02:33 -0400 | [diff] [blame] | 33 | config: |
| 34 | appDir: /opt/app/validation-service |
| 35 | configDir: /opt/app/validation-service/appconfig |
| 36 | configAuthDir: /opt/app/validation-service/appconfig/auth |
| 37 | configTopicsDir: /opt/app/validation-service/appconfig/topics |
Pierre Rioux | 303680b | 2018-09-12 15:58:20 -0400 | [diff] [blame] | 38 | rulesDir: /opt/app/validation-service/bundleconfig/etc/rules/poa-event |
Geora Barsky | 4b328b8 | 2018-08-01 12:02:33 -0400 | [diff] [blame] | 39 | maxHeap: 1024 |
Pierre Rioux | 5f4b3db | 2019-01-09 15:41:17 -0500 | [diff] [blame] | 40 | dataDictHostPort: http://dummy-host:443 |
| 41 | dataDictCredentials: cG9tYmE6cG9tYmE= |
Geora Barsky | 4b328b8 | 2018-08-01 12:02:33 -0400 | [diff] [blame] | 42 | |
| 43 | # default number of instances |
| 44 | replicaCount: 1 |
| 45 | |
| 46 | nodeSelector: {} |
| 47 | |
| 48 | affinity: {} |
| 49 | |
| 50 | # probe configuration parameters |
| 51 | liveness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 52 | initialDelaySeconds: 30 |
Geora Barsky | 4b328b8 | 2018-08-01 12:02:33 -0400 | [diff] [blame] | 53 | periodSeconds: 10 |
| 54 | # necessary to disable liveness probe when setting breakpoints |
| 55 | # in debugger so K8s doesn't restart unresponsive container |
| 56 | enabled: false |
| 57 | |
| 58 | readiness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 59 | initialDelaySeconds: 30 |
Geora Barsky | 4b328b8 | 2018-08-01 12:02:33 -0400 | [diff] [blame] | 60 | periodSeconds: 10 |
| 61 | enabled: false |
| 62 | |
| 63 | #Example service definition with external, internal and node ports. |
| 64 | service: |
| 65 | # The default service name (exposed in the service.yaml) will be the same |
| 66 | # name as the chart. If the service name needs to be overriden (such as |
| 67 | # when a subchart is shared), uncomment the value below. |
| 68 | #name: validation-service |
| 69 | |
| 70 | #Services may use any combination of ports depending on the 'type' of |
| 71 | #service being defined. |
| 72 | type: ClusterIP |
| 73 | externalPort: 9529 |
| 74 | internalPort: 8080 |
| 75 | # nodePort: <replace with unused node port suffix eg. 23> |
| 76 | # optional port name override - default can be defined in service.yaml |
| 77 | #portName: http |
| 78 | |
| 79 | ingress: |
| 80 | enabled: false |
| 81 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 82 | # Resource Limit flavor -By Default using small |
| 83 | flavor: small |
| 84 | # Segregation for Different environment (Small and Large) |
| 85 | resources: |
| 86 | small: |
| 87 | limits: |
| 88 | cpu: 1 |
| 89 | memory: 1400Mi |
| 90 | requests: |
| 91 | cpu: 50m |
| 92 | memory: 700Mi |
| 93 | large: |
| 94 | limits: |
| 95 | cpu: 2 |
| 96 | memory: 2800Mi |
| 97 | requests: |
| 98 | cpu: 100m |
| 99 | memory: 1400Mi |
| 100 | unlimited: {} |