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-cm |
| 46 | type: ClusterIP |
| 47 | portName: aaf-cm |
| 48 | #targetPort |
| 49 | internalPort: 8150 |
| 50 | #port |
| 51 | externalPort: 8150 |
| 52 | |
| 53 | ingress: |
| 54 | enabled: false |
| 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: |
| 60 | cpu: 20m |
| 61 | memory: 300Mi |
| 62 | requests: |
| 63 | cpu: 1m |
| 64 | memory: 200Mi |
| 65 | large: |
| 66 | limits: |
| 67 | cpu: 400m |
| 68 | memory: 1Gi |
| 69 | requests: |
| 70 | cpu: 40m |
| 71 | memory: 600Mi |
| 72 | unlimited: {} |