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