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 |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.2 |
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 | nodeSelector: {} |
| 28 | |
| 29 | affinity: {} |
| 30 | |
| 31 | # probe configuration parameters |
| 32 | liveness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 33 | initialDelaySeconds: 120 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 34 | periodSeconds: 10 |
| 35 | # necessary to disable liveness probe when setting breakpoints |
| 36 | # in debugger so K8s doesn't restart unresponsive container |
| 37 | enabled: true |
| 38 | |
| 39 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 40 | initialDelaySeconds: 5 |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 41 | periodSeconds: 10 |
| 42 | |
| 43 | service: |
| 44 | name: aaf-oauth |
| 45 | type: ClusterIP |
| 46 | portName: aaf-oauth |
| 47 | #targetPort |
| 48 | internalPort: 8140 |
| 49 | #port |
| 50 | externalPort: 8140 |
| 51 | |
| 52 | ingress: |
| 53 | enabled: false |
| 54 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 55 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame^] | 56 | resources: |
| 57 | small: |
| 58 | limits: |
| 59 | cpu: 40m |
| 60 | memory: 320Mi |
| 61 | requests: |
| 62 | cpu: 1m |
| 63 | memory: 210Mi |
| 64 | large: |
| 65 | limits: |
| 66 | cpu: 400m |
| 67 | memory: 600Mi |
| 68 | requests: |
| 69 | cpu: 40m |
| 70 | memory: 200Mi |
| 71 | unlimited: {} |