mmis | 9597113 | 2018-07-17 00:13:13 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2018 Ericsson. All rights reserved. |
| 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 | # SPDX-License-Identifier: Apache-2.0 |
| 17 | # ============LICENSE_END========================================================= |
| 18 | |
| 19 | ################################################################# |
| 20 | # Global configuration defaults. |
| 21 | ################################################################# |
| 22 | global: |
| 23 | nodePortPrefix: 302 |
| 24 | persistence: {} |
| 25 | |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
Gary Wu | bc1e731 | 2018-10-18 09:48:31 -0700 | [diff] [blame] | 31 | image: onap/policy-apex-pdp:2.0.0 |
mmis | 9597113 | 2018-07-17 00:13:13 +0100 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
| 37 | # application configuration |
| 38 | |
| 39 | # default number of instances |
| 40 | replicaCount: 1 |
| 41 | |
| 42 | nodeSelector: {} |
| 43 | |
| 44 | affinity: {} |
| 45 | |
| 46 | # probe configuration parameters |
| 47 | liveness: |
| 48 | initialDelaySeconds: 20 |
| 49 | periodSeconds: 10 |
| 50 | # necessary to disable liveness probe when setting breakpoints |
| 51 | # in debugger so K8s doesn't restart unresponsive container |
| 52 | enabled: true |
| 53 | |
| 54 | readiness: |
| 55 | initialDelaySeconds: 20 |
| 56 | periodSeconds: 10 |
| 57 | |
| 58 | service: |
| 59 | type: NodePort |
| 60 | name: policy-apex-pdp |
| 61 | portName: policy-apex-pdp |
| 62 | externalPort: 12345 |
| 63 | nodePort: 37 |
| 64 | |
| 65 | ingress: |
| 66 | enabled: false |
| 67 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 68 | # Resource Limit flavor -By Default using small |
| 69 | flavor: small |
| 70 | # Segregation for Different environment (Small and Large) |
| 71 | resources: |
| 72 | small: |
| 73 | limits: |
| 74 | cpu: 1 |
| 75 | memory: 4Gi |
| 76 | requests: |
| 77 | cpu: 10m |
| 78 | memory: 1Gi |
| 79 | large: |
| 80 | limits: |
| 81 | cpu: 2 |
| 82 | memory: 8Gi |
| 83 | requests: |
| 84 | cpu: 20m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 85 | memory: 2Gi |
| 86 | unlimited: {} |