mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Durgpal | 7ad4069 | 2018-08-03 07:28:36 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +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 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | ubuntuImage: ubuntu:16.04 |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
Jorge Hernandez | cb49888 | 2018-07-09 11:35:38 -0500 | [diff] [blame] | 31 | image: onap/policy-drools:1.3-SNAPSHOT-latest |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 37 | # application configuration |
mayankg2703 | c798546 | 2018-03-29 14:24:23 +0000 | [diff] [blame] | 38 | config: |
| 39 | nexusPort: 8081 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 40 | |
| 41 | # default number of instances |
Jorge Hernandez | d9f7545 | 2018-06-04 11:18:52 -0500 | [diff] [blame] | 42 | replicaCount: 1 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
Jorge Hernandez | 432aa31 | 2018-06-04 18:20:43 -0500 | [diff] [blame] | 50 | initialDelaySeconds: 180 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 51 | periodSeconds: 10 |
| 52 | # necessary to disable liveness probe when setting breakpoints |
| 53 | # in debugger so K8s doesn't restart unresponsive container |
Jorge Hernandez | 328eadb | 2018-05-15 07:52:21 -0500 | [diff] [blame] | 54 | enabled: true |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 55 | |
| 56 | readiness: |
Jorge Hernandez | d9f7545 | 2018-06-04 11:18:52 -0500 | [diff] [blame] | 57 | initialDelaySeconds: 60 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 58 | periodSeconds: 10 |
| 59 | |
| 60 | service: |
| 61 | type: NodePort |
| 62 | name: drools |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 63 | portName: drools |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 64 | externalPort: 6969 |
| 65 | nodePort: 17 |
| 66 | externalPort2: 9696 |
| 67 | nodePort2: 21 |
| 68 | |
| 69 | ingress: |
| 70 | enabled: false |
| 71 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 72 | # Resource Limit flavor -By Default using small |
| 73 | flavor: small |
| 74 | # Segregation for Different environment (Small and Large) |
| 75 | resources: |
| 76 | small: |
| 77 | limits: |
| 78 | cpu: 1 |
| 79 | memory: 4Gi |
| 80 | requests: |
| 81 | cpu: 100m |
| 82 | memory: 1Gi |
| 83 | large: |
| 84 | limits: |
| 85 | cpu: 2 |
| 86 | memory: 8Gi |
| 87 | requests: |
| 88 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 89 | memory: 2Gi |
| 90 | unlimited: {} |