Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 20 | readinessRepository: oomk8s |
Gary Wu | bf4b4d8 | 2018-05-11 13:26:30 -0700 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 22 | flavor: small |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | # application image |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 27 | |
| 28 | nodeSelector: {} |
| 29 | |
| 30 | affinity: {} |
| 31 | |
| 32 | # probe configuration parameters |
| 33 | liveness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 34 | initialDelaySeconds: 120 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 35 | periodSeconds: 10 |
| 36 | # necessary to disable liveness probe when setting breakpoints |
| 37 | # in debugger so K8s doesn't restart unresponsive container |
| 38 | enabled: true |
| 39 | |
| 40 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 41 | initialDelaySeconds: 5 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 42 | periodSeconds: 10 |
| 43 | |
| 44 | service: |
| 45 | name: aaf-locate |
| 46 | type: ClusterIP |
| 47 | portName: aaf-locate |
| 48 | #targetPort |
| 49 | internalPort: 8095 |
| 50 | #port |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 51 | externalPort: 31111 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 52 | |
| 53 | ingress: |
| 54 | enabled: false |
Lucjan Bryndza | 72b1215 | 2019-11-27 10:28:28 +0000 | [diff] [blame] | 55 | service: |
| 56 | - baseaddr: "aaflocate" |
| 57 | name: "aaf-locate" |
| 58 | port: 8095 |
| 59 | config: |
| 60 | ssl: "none" |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 61 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 62 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 63 | resources: |
| 64 | small: |
| 65 | limits: |
Sylvain Desbureaux | daee54b | 2020-02-12 17:41:18 +0100 | [diff] [blame] | 66 | cpu: 100m |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 67 | memory: 320Mi |
| 68 | requests: |
| 69 | cpu: 1m |
| 70 | memory: 210Mi |
| 71 | large: |
| 72 | limits: |
| 73 | cpu: 400m |
| 74 | memory: 1Gi |
| 75 | requests: |
| 76 | cpu: 40m |
| 77 | memory: 500Mi |
| 78 | unlimited: {} |