Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [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 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 20 | readinessRepository: oomk8s |
| 21 | readinessImage: readiness-check:2.0.0 |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 22 | flavor: small |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | # application image |
| 27 | repository: nexus3.onap.org:10001 |
Instrumental | 378109d | 2018-10-16 20:40:41 -0500 | [diff] [blame] | 28 | image: onap/aaf/aaf_service:2.1.5-SNAPSHOT |
| 29 | aaf_register_as: "aaf-service.onap" |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 30 | pullPolicy: Always |
| 31 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 32 | |
| 33 | # default number of instances |
| 34 | replicaCount: 1 |
| 35 | |
| 36 | nodeSelector: {} |
| 37 | |
| 38 | affinity: {} |
| 39 | |
| 40 | # probe configuration parameters |
| 41 | liveness: |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame] | 42 | initialDelaySeconds: 300 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 43 | periodSeconds: 10 |
| 44 | # necessary to disable liveness probe when setting breakpoints |
| 45 | # in debugger so K8s doesn't restart unresponsive container |
| 46 | enabled: true |
| 47 | |
| 48 | readiness: |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame] | 49 | initialDelaySeconds: 30 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 50 | periodSeconds: 10 |
| 51 | |
| 52 | service: |
| 53 | name: aaf-service |
| 54 | type: NodePort |
| 55 | portName: aaf-service |
| 56 | #targetPort |
| 57 | internalPort: 8100 |
| 58 | #port |
| 59 | externalPort: 8100 |
Mandeep Khinda | f8bd9ca | 2018-05-08 00:35:56 +0000 | [diff] [blame] | 60 | nodePort: 47 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 61 | |
| 62 | ingress: |
| 63 | enabled: false |
| 64 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 65 | # Configure resource requests and limits |
| 66 | resources: |
| 67 | small: |
| 68 | limits: |
| 69 | cpu: 200m |
| 70 | memory: 600Mi |
| 71 | requests: |
| 72 | cpu: 20m |
| 73 | memory: 300Mi |
| 74 | large: |
| 75 | limits: |
| 76 | cpu: 400m |
| 77 | memory: 1Gi |
| 78 | requests: |
| 79 | cpu: 40m |
| 80 | memory: 300Mi |
Instrumental | 378109d | 2018-10-16 20:40:41 -0500 | [diff] [blame] | 81 | unlimited: {} |