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