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