Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 2 | # Modifications © 2020 AT&T |
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 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 16 | flavor: small |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 17 | |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 18 | ################################################################# |
| 19 | # Application configuration defaults. |
| 20 | ################################################################# |
| 21 | # application image |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 22 | |
| 23 | nodeSelector: {} |
| 24 | |
| 25 | affinity: {} |
| 26 | |
| 27 | # probe configuration parameters |
| 28 | liveness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 29 | initialDelaySeconds: 120 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 30 | periodSeconds: 10 |
| 31 | # necessary to disable liveness probe when setting breakpoints |
| 32 | # in debugger so K8s doesn't restart unresponsive container |
| 33 | enabled: true |
| 34 | |
| 35 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 36 | initialDelaySeconds: 5 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 37 | periodSeconds: 10 |
| 38 | |
| 39 | service: |
| 40 | name: aaf-service |
| 41 | type: NodePort |
| 42 | portName: aaf-service |
| 43 | #targetPort |
| 44 | internalPort: 8100 |
| 45 | #port |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 46 | externalPort: 31110 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 47 | |
| 48 | ingress: |
| 49 | enabled: false |
Lucjan Bryndza | 72b1215 | 2019-11-27 10:28:28 +0000 | [diff] [blame] | 50 | service: |
| 51 | - baseaddr: "aafservice" |
| 52 | name: "aaf-service" |
| 53 | port: 8100 |
| 54 | config: |
| 55 | ssl: "none" |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 56 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 57 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 58 | resources: |
| 59 | small: |
| 60 | limits: |
| 61 | cpu: 250m |
| 62 | memory: 360Mi |
| 63 | requests: |
| 64 | cpu: 10m |
| 65 | memory: 250Mi |
| 66 | large: |
| 67 | limits: |
| 68 | cpu: 400m |
| 69 | memory: 1Gi |
| 70 | requests: |
| 71 | cpu: 40m |
| 72 | memory: 300Mi |
| 73 | unlimited: {} |