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