Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 2 | # Modifications © 2020 AT&T, Orange |
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 | |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 16 | global: |
| 17 | nodePortPrefix: 302 |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 18 | persistence: |
| 19 | enabled: true |
| 20 | # Standard OOM |
| 21 | pullPolicy: "Always" |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 22 | |
| 23 | aaf: |
Sylvain Desbureaux | 0dfa387 | 2020-11-21 21:29:17 +0100 | [diff] [blame] | 24 | image: onap/aaf/aaf_core:2.1.23 |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 25 | config: |
| 26 | image: onap/aaf/aaf_config:2.1.23 |
| 27 | |
| 28 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 29 | flavor: small |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 30 | ################################################################# |
| 31 | # Application configuration defaults. |
| 32 | ################################################################# |
| 33 | # application image |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 34 | replicaCount: 1 |
| 35 | |
| 36 | binary: locate |
| 37 | |
| 38 | sequence_order: |
| 39 | - service |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 40 | |
| 41 | nodeSelector: {} |
| 42 | |
| 43 | affinity: {} |
| 44 | |
| 45 | # probe configuration parameters |
| 46 | liveness: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 47 | initialDelaySeconds: 30 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 48 | periodSeconds: 10 |
| 49 | # necessary to disable liveness probe when setting breakpoints |
| 50 | # in debugger so K8s doesn't restart unresponsive container |
| 51 | enabled: true |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 52 | port: api |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 53 | |
| 54 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 55 | initialDelaySeconds: 5 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 56 | periodSeconds: 10 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 57 | port: api |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 58 | |
| 59 | service: |
| 60 | name: aaf-locate |
| 61 | type: ClusterIP |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 62 | ports: |
| 63 | - name: api |
| 64 | protocol: http |
| 65 | port: 8095 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 66 | |
| 67 | ingress: |
| 68 | enabled: false |
Lucjan Bryndza | 72b1215 | 2019-11-27 10:28:28 +0000 | [diff] [blame] | 69 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 70 | - baseaddr: "aaf-locate-api" |
Lucjan Bryndza | 72b1215 | 2019-11-27 10:28:28 +0000 | [diff] [blame] | 71 | name: "aaf-locate" |
| 72 | port: 8095 |
| 73 | config: |
Sylvain Desbureaux | cfc9041 | 2020-05-06 15:17:55 +0200 | [diff] [blame] | 74 | ssl: "redirect" |
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: |
Sylvain Desbureaux | 4aff7f0 | 2020-05-14 13:21:06 +0200 | [diff] [blame] | 78 | small: |
| 79 | limits: |
| 80 | cpu: 500m |
| 81 | memory: 320Mi |
| 82 | requests: |
| 83 | cpu: 1m |
| 84 | memory: 210Mi |
| 85 | large: |
| 86 | limits: |
| 87 | cpu: 400m |
| 88 | memory: 1Gi |
| 89 | requests: |
| 90 | cpu: 40m |
| 91 | memory: 500Mi |
| 92 | unlimited: {} |