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