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 |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 30 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 31 | ################################################################# |
| 32 | # Application configuration defaults. |
| 33 | ################################################################# |
| 34 | # application image |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 35 | |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 36 | replicaCount: 1 |
| 37 | |
| 38 | binary: service |
| 39 | |
| 40 | sequence_order: |
| 41 | - cass |
| 42 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 43 | nodeSelector: {} |
| 44 | |
| 45 | affinity: {} |
| 46 | |
| 47 | # probe configuration parameters |
| 48 | liveness: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 49 | initialDelaySeconds: 30 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 50 | periodSeconds: 10 |
| 51 | # necessary to disable liveness probe when setting breakpoints |
| 52 | # in debugger so K8s doesn't restart unresponsive container |
| 53 | enabled: true |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 54 | port: api |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 55 | |
| 56 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 57 | initialDelaySeconds: 5 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 58 | periodSeconds: 10 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 59 | port: api |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 60 | |
| 61 | service: |
| 62 | name: aaf-service |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 63 | type: ClusterIP |
| 64 | ports: |
| 65 | - name: api |
| 66 | port: 8100 |
| 67 | protocol: http |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 68 | |
| 69 | ingress: |
| 70 | enabled: false |
Lucjan Bryndza | 72b1215 | 2019-11-27 10:28:28 +0000 | [diff] [blame] | 71 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 72 | - baseaddr: "aaf-service-api" |
Lucjan Bryndza | 72b1215 | 2019-11-27 10:28:28 +0000 | [diff] [blame] | 73 | name: "aaf-service" |
| 74 | port: 8100 |
| 75 | config: |
Sylvain Desbureaux | cfc9041 | 2020-05-06 15:17:55 +0200 | [diff] [blame] | 76 | ssl: "redirect" |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 77 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 78 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 79 | resources: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 80 | small: |
| 81 | limits: |
| 82 | cpu: 250m |
| 83 | memory: 360Mi |
| 84 | requests: |
| 85 | cpu: 10m |
| 86 | memory: 250Mi |
| 87 | large: |
| 88 | limits: |
| 89 | cpu: 400m |
| 90 | memory: 1Gi |
| 91 | requests: |
| 92 | cpu: 40m |
| 93 | memory: 300Mi |
| 94 | unlimited: {} |