kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 2 | # Modifications © 2020 AT&T |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [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 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 17 | |
| 18 | ################################################################# |
| 19 | # Application configuration defaults. |
| 20 | ################################################################# |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 21 | # application configuration |
| 22 | config: {} |
| 23 | |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 24 | nodeSelector: {} |
| 25 | |
| 26 | affinity: {} |
| 27 | |
| 28 | # probe configuration parameters |
| 29 | liveness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 30 | initialDelaySeconds: 120 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 31 | periodSeconds: 10 |
| 32 | # necessary to disable liveness probe when setting breakpoints |
| 33 | # in debugger so K8s doesn't restart unresponsive container |
| 34 | enabled: true |
| 35 | |
| 36 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 37 | initialDelaySeconds: 5 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 38 | periodSeconds: 10 |
| 39 | |
| 40 | service: |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 41 | name: aaf-cass |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 42 | type: ClusterIP |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 43 | portName: aaf-cass |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 44 | #targetPort |
| 45 | internalPort: 7000 |
| 46 | #port |
| 47 | externalPort: 7000 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 48 | |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 49 | internalPort2: 7001 |
| 50 | externalPort2: 7001 |
| 51 | internalPort3: 9042 |
| 52 | externalPort3: 9042 |
| 53 | internalPort4: 9160 |
| 54 | externalPort4: 9160 |
| 55 | |
| 56 | ingress: |
| 57 | enabled: false |
| 58 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 59 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 60 | resources: |
| 61 | small: |
| 62 | limits: |
| 63 | cpu: 2100m |
| 64 | memory: 1792Mi |
| 65 | requests: |
| 66 | cpu: 30m |
| 67 | memory: 1280Mi |
| 68 | large: |
| 69 | limits: |
| 70 | cpu: 4 |
| 71 | memory: 12000Mi |
| 72 | requests: |
| 73 | cpu: 40m |
| 74 | memory: 9000Mi |
| 75 | unlimited: {} |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame] | 76 | |
| 77 | persistence: |
| 78 | enabled: true |
| 79 | #existingClaim: |
| 80 | mountPath: /dockerdata-nfs |
| 81 | mountSubPath: "cass" |
| 82 | volumeReclaimPolicy: Retain |
| 83 | accessMode: ReadWriteOnce |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 84 | size: 20Gi |