kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [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 |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 20 | flavor: small |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 25 | # application configuration |
| 26 | config: {} |
| 27 | |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 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 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [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 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 42 | periodSeconds: 10 |
| 43 | |
| 44 | service: |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 45 | name: aaf-cass |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 46 | type: ClusterIP |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 47 | portName: aaf-cass |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 48 | #targetPort |
| 49 | internalPort: 7000 |
| 50 | #port |
| 51 | externalPort: 7000 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 52 | |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 53 | internalPort2: 7001 |
| 54 | externalPort2: 7001 |
| 55 | internalPort3: 9042 |
| 56 | externalPort3: 9042 |
| 57 | internalPort4: 9160 |
| 58 | externalPort4: 9160 |
| 59 | |
| 60 | ingress: |
| 61 | enabled: false |
| 62 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 63 | # Configure resource requests and limits |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 64 | resources: {} |
| 65 | # Following AAI's advice, and not trying to guess on Cass usage. Guessing just makes it slow |
| 66 | # small: |
| 67 | # limits: |
| 68 | # cpu: "1000m" |
| 69 | # memory: 4096Mi |
| 70 | # requests: |
| 71 | # cpu: 20m |
| 72 | # memory: 2048Mi |
| 73 | # large: |
| 74 | # limits: |
| 75 | # cpu: 400m |
| 76 | # memory: 12000Mi |
| 77 | # requests: |
| 78 | # cpu: 40m |
| 79 | # memory: 9000Mi |
| 80 | # unlimited: {} |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame] | 81 | |
| 82 | persistence: |
| 83 | enabled: true |
| 84 | #existingClaim: |
| 85 | mountPath: /dockerdata-nfs |
| 86 | mountSubPath: "cass" |
| 87 | volumeReclaimPolicy: Retain |
| 88 | accessMode: ReadWriteOnce |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 89 | size: 20Gi |
Instrumental | 378109d | 2018-10-16 20:40:41 -0500 | [diff] [blame] | 90 | storageClass: "manual" |