mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Jorge Hernandez | aa5ba98 | 2019-03-25 19:13:39 -0500 | [diff] [blame] | 2 | # Modifications Copyright © 2018-2019 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 |
jhh | bf7fb4d | 2019-08-07 16:54:41 -0500 | [diff] [blame] | 31 | image: onap/policy-pdpd-cl:1.5.1 |
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: |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 61 | type: ClusterIP |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 62 | name: drools |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 63 | portName: drools |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 64 | internalPort: 6969 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 65 | externalPort: 6969 |
| 66 | nodePort: 17 |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 67 | internalPort2: 9696 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 68 | externalPort2: 9696 |
| 69 | nodePort2: 21 |
| 70 | |
| 71 | ingress: |
| 72 | enabled: false |
| 73 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 74 | # Resource Limit flavor -By Default using small |
| 75 | flavor: small |
| 76 | # Segregation for Different environment (Small and Large) |
| 77 | resources: |
| 78 | small: |
| 79 | limits: |
| 80 | cpu: 1 |
| 81 | memory: 4Gi |
| 82 | requests: |
| 83 | cpu: 100m |
| 84 | memory: 1Gi |
| 85 | large: |
| 86 | limits: |
| 87 | cpu: 2 |
| 88 | memory: 8Gi |
| 89 | requests: |
| 90 | cpu: 200m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 91 | memory: 2Gi |
Pamela Dragosh | 54048d3 | 2018-11-09 07:09:41 -0500 | [diff] [blame] | 92 | unlimited: {} |