kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 2 | # Modifications © 2020 AT&T, Orange |
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. |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 15 | global: |
| 16 | nodePortPrefix: 302 |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 17 | persistence: |
| 18 | enabled: true |
| 19 | # Standard OOM |
| 20 | pullPolicy: "Always" |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 21 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 22 | flavor: small |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 23 | |
| 24 | ################################################################# |
| 25 | # Application configuration defaults. |
| 26 | ################################################################# |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 27 | # application configuration |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 28 | replicaCount: 1 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 29 | |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 30 | nodeSelector: {} |
| 31 | |
| 32 | affinity: {} |
| 33 | |
| 34 | # probe configuration parameters |
| 35 | liveness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 36 | initialDelaySeconds: 120 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 37 | periodSeconds: 10 |
| 38 | # necessary to disable liveness probe when setting breakpoints |
| 39 | # in debugger so K8s doesn't restart unresponsive container |
| 40 | enabled: true |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 41 | port: tcp-cql |
| 42 | |
ChrisC | 73876b4 | 2020-05-27 15:45:34 +0200 | [diff] [blame] | 43 | image: onap/aaf/aaf_cass:2.1.23 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 44 | |
| 45 | config: |
| 46 | cluster_name: osaaf |
| 47 | heap_new_size: 512M |
| 48 | max_heap_size: 1024M |
| 49 | dc: dc1 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 50 | |
| 51 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 52 | initialDelaySeconds: 5 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 53 | periodSeconds: 10 |
| 54 | |
| 55 | service: |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 56 | name: aaf-cass |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 57 | type: ClusterIP |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 58 | ports: |
| 59 | - name: tcp-intra |
| 60 | port: 7000 |
| 61 | - name: tls |
| 62 | port: 7001 |
| 63 | - name: tcp-cql |
| 64 | port: 9042 |
| 65 | - name: tcp-thrift |
| 66 | port: 9160 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 67 | |
| 68 | ingress: |
| 69 | enabled: false |
| 70 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 71 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 72 | resources: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 73 | small: |
| 74 | limits: |
| 75 | cpu: 2100m |
| 76 | memory: 1792Mi |
| 77 | requests: |
| 78 | cpu: 30m |
| 79 | memory: 1280Mi |
| 80 | large: |
| 81 | limits: |
| 82 | cpu: 4 |
| 83 | memory: 12000Mi |
| 84 | requests: |
| 85 | cpu: 40m |
| 86 | memory: 9000Mi |
| 87 | unlimited: {} |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame] | 88 | |
| 89 | persistence: |
| 90 | enabled: true |
| 91 | #existingClaim: |
| 92 | mountPath: /dockerdata-nfs |
| 93 | mountSubPath: "cass" |
| 94 | volumeReclaimPolicy: Retain |
| 95 | accessMode: ReadWriteOnce |
Sylvain Desbureaux | 7446b3b | 2021-05-07 08:14:54 +0200 | [diff] [blame] | 96 | size: 5Gi |