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 |
Gary Wu | bf4b4d8 | 2018-05-11 13:26:30 -0700 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [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_hello:2.1.5-SNAPSHOT |
| 29 | aaf_register_as: "aaf-hello.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-hello |
| 54 | type: ClusterIP |
| 55 | portName: aaf-hello |
| 56 | #targetPort |
| 57 | internalPort: 8130 |
| 58 | #port |
| 59 | externalPort: 8130 |
| 60 | |
| 61 | ingress: |
| 62 | enabled: false |
| 63 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 64 | # Configure resource requests and limits |
| 65 | resources: |
| 66 | small: |
| 67 | limits: |
| 68 | cpu: 200m |
| 69 | memory: 500Mi |
| 70 | requests: |
| 71 | cpu: 10m |
| 72 | memory: 200Mi |
| 73 | large: |
| 74 | limits: |
| 75 | cpu: 400m |
| 76 | memory: 1Gi |
| 77 | requests: |
| 78 | cpu: 20m |
| 79 | memory: 500Mi |
Instrumental | 378109d | 2018-10-16 20:40:41 -0500 | [diff] [blame] | 80 | unlimited: {} |