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 |
| 18 | # Readiness image |
| 19 | readinessRepository: oomk8s |
| 20 | readinessImage: readiness-check:2.0.2 |
| 21 | # Ubuntu Init image |
| 22 | ubuntuInitRepository: registry.hub.docker.com |
| 23 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
| 24 | # Logging image |
| 25 | loggingRepository: docker.elastic.co |
| 26 | loggingImage: beats/filebeat:5.5.0 |
| 27 | # BusyBox image |
| 28 | busyboxRepository: registry.hub.docker.com |
| 29 | busyboxImage: library/busybox:1.31 |
| 30 | persistence: |
| 31 | enabled: true |
| 32 | # Standard OOM |
| 33 | pullPolicy: "Always" |
| 34 | repository: "nexus3.onap.org:10001" |
| 35 | |
| 36 | aaf: |
| 37 | config: |
| 38 | image: onap/aaf/aaf_config:2.1.23 |
| 39 | |
| 40 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 41 | flavor: small |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 42 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 43 | ################################################################# |
| 44 | # Application configuration defaults. |
| 45 | ################################################################# |
| 46 | # application image |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 47 | |
| 48 | replicaCount: 1 |
| 49 | |
| 50 | binary: oauth |
| 51 | |
| 52 | sequence_order: |
| 53 | - service |
| 54 | - locate |
| 55 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 56 | nodeSelector: {} |
| 57 | |
| 58 | affinity: {} |
| 59 | |
| 60 | # probe configuration parameters |
| 61 | liveness: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 62 | initialDelaySeconds: 30 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 63 | periodSeconds: 10 |
| 64 | # necessary to disable liveness probe when setting breakpoints |
| 65 | # in debugger so K8s doesn't restart unresponsive container |
| 66 | enabled: true |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 67 | port: api |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 68 | |
| 69 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 70 | initialDelaySeconds: 5 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 71 | periodSeconds: 10 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 72 | port: api |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 73 | |
| 74 | service: |
| 75 | name: aaf-oauth |
| 76 | type: ClusterIP |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 77 | ports: |
| 78 | - name: api |
| 79 | protocol: http |
| 80 | port: 8140 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 81 | |
| 82 | ingress: |
| 83 | enabled: false |
Lucjan Bryndza | 72b1215 | 2019-11-27 10:28:28 +0000 | [diff] [blame] | 84 | service: |
| 85 | - baseaddr: "aafoauth" |
| 86 | name: "aaf-oauth" |
| 87 | port: 8140 |
| 88 | config: |
Sylvain Desbureaux | cfc9041 | 2020-05-06 15:17:55 +0200 | [diff] [blame] | 89 | ssl: "redirect" |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 90 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 91 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 92 | resources: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 93 | small: |
| 94 | limits: |
| 95 | cpu: 40m |
| 96 | memory: 320Mi |
| 97 | requests: |
| 98 | cpu: 1m |
| 99 | memory: 210Mi |
| 100 | large: |
| 101 | limits: |
| 102 | cpu: 400m |
| 103 | memory: 600Mi |
| 104 | requests: |
| 105 | cpu: 40m |
| 106 | memory: 200Mi |
| 107 | unlimited: {} |