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. |
| 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 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 22 | replicaCount: 1 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 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 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 35 | port: tcp-cql |
| 36 | |
ChrisC | 306fa85 | 2020-05-20 17:39:15 +0200 | [diff] [blame] | 37 | image: onap/aaf/aaf_cass:2.1.22 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 38 | |
| 39 | config: |
| 40 | cluster_name: osaaf |
| 41 | heap_new_size: 512M |
| 42 | max_heap_size: 1024M |
| 43 | dc: dc1 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 44 | |
| 45 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 46 | initialDelaySeconds: 5 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 47 | periodSeconds: 10 |
| 48 | |
| 49 | service: |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 50 | name: aaf-cass |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 51 | type: ClusterIP |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 52 | ports: |
| 53 | - name: tcp-intra |
| 54 | port: 7000 |
| 55 | - name: tls |
| 56 | port: 7001 |
| 57 | - name: tcp-cql |
| 58 | port: 9042 |
| 59 | - name: tcp-thrift |
| 60 | port: 9160 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 61 | |
| 62 | ingress: |
| 63 | enabled: false |
| 64 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 65 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 66 | resources: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 67 | small: |
| 68 | limits: |
| 69 | cpu: 2100m |
| 70 | memory: 1792Mi |
| 71 | requests: |
| 72 | cpu: 30m |
| 73 | memory: 1280Mi |
| 74 | large: |
| 75 | limits: |
| 76 | cpu: 4 |
| 77 | memory: 12000Mi |
| 78 | requests: |
| 79 | cpu: 40m |
| 80 | memory: 9000Mi |
| 81 | unlimited: {} |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame] | 82 | |
| 83 | persistence: |
| 84 | enabled: true |
| 85 | #existingClaim: |
| 86 | mountPath: /dockerdata-nfs |
| 87 | mountSubPath: "cass" |
| 88 | volumeReclaimPolicy: Retain |
| 89 | accessMode: ReadWriteOnce |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 90 | size: 20Gi |