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 |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.2 |
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 |
Instrumental | 0c7bc94 | 2019-08-06 16:36:13 -0500 | [diff] [blame] | 27 | aaf_init: |
| 28 | # You might want this in your own app. For AAF, we store in global |
| 29 | # replicas: 1 |
| 30 | fqdn: "aaf-hello" |
| 31 | image: onap/aaf/aaf_agent:2.1.15 |
| 32 | app_ns: "org.osaaf.aaf" |
| 33 | fqi: "aaf@aaf.osaaf.org" |
| 34 | fqdn: "aaf-hello" |
| 35 | public_fqdn: "aaf.osaaf.org" |
| 36 | deploy_fqi: "deployer@people.osaaf.org" |
| 37 | cadi_latitude: "38.0" |
| 38 | cadi_longitude: "-72.0" |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 39 | |
Instrumental | 0c7bc94 | 2019-08-06 16:36:13 -0500 | [diff] [blame] | 40 | service: |
| 41 | image: onap/aaf/aaf_hello:2.1.15 |
| 42 | port: "8130" |
| 43 | public_port: "31119" |
| 44 | |
| 45 | persistence: |
| 46 | enabled: true |
Instrumental | 0c7bc94 | 2019-08-06 16:36:13 -0500 | [diff] [blame] | 47 | #existingClaim: |
| 48 | # You will want "Reatan" in non-Hello Example. |
Sylvain Desbureaux | 7a23575 | 2019-11-28 15:01:45 +0100 | [diff] [blame] | 49 | volumeReclaimPolicy: Delete |
| 50 | accessMode: ReadWriteMany |
| 51 | size: 40M |
| 52 | mountPath: /dockerdata-nfs |
| 53 | mountSubPath: aaf/hello |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 54 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 55 | nodeSelector: {} |
| 56 | |
| 57 | affinity: {} |
| 58 | |
| 59 | # probe configuration parameters |
| 60 | liveness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 61 | initialDelaySeconds: 120 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 62 | periodSeconds: 10 |
| 63 | # necessary to disable liveness probe when setting breakpoints |
| 64 | # in debugger so K8s doesn't restart unresponsive container |
| 65 | enabled: true |
| 66 | |
| 67 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 68 | initialDelaySeconds: 5 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 69 | periodSeconds: 10 |
| 70 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 71 | ingress: |
| 72 | enabled: false |
Lucjan Bryndza | 72b1215 | 2019-11-27 10:28:28 +0000 | [diff] [blame] | 73 | service: |
| 74 | - baseaddr: "aafhello" |
| 75 | name: "aaf-hello" |
| 76 | port: 8130 |
| 77 | config: |
| 78 | ssl: "none" |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 79 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 80 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 81 | resources: |
| 82 | small: |
| 83 | limits: |
| 84 | cpu: 200m |
| 85 | memory: 500Mi |
| 86 | requests: |
| 87 | cpu: 10m |
| 88 | memory: 200Mi |
| 89 | large: |
| 90 | limits: |
| 91 | cpu: 400m |
| 92 | memory: 1Gi |
| 93 | requests: |
| 94 | cpu: 20m |
| 95 | memory: 500Mi |
| 96 | unlimited: {} |