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