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 |
| 17 | # Readiness image |
| 18 | readinessRepository: oomk8s |
| 19 | readinessImage: readiness-check:2.0.2 |
| 20 | # Ubuntu Init image |
| 21 | ubuntuInitRepository: registry.hub.docker.com |
| 22 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
| 23 | # Logging image |
| 24 | loggingRepository: docker.elastic.co |
| 25 | loggingImage: beats/filebeat:5.5.0 |
| 26 | # BusyBox image |
| 27 | busyboxRepository: registry.hub.docker.com |
| 28 | busyboxImage: library/busybox:1.31 |
| 29 | persistence: |
| 30 | enabled: true |
| 31 | # Standard OOM |
| 32 | pullPolicy: "Always" |
| 33 | repository: "nexus3.onap.org:10001" |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 34 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 35 | flavor: small |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 36 | |
| 37 | ################################################################# |
| 38 | # Application configuration defaults. |
| 39 | ################################################################# |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 40 | # application configuration |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 41 | replicaCount: 1 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 42 | |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 43 | nodeSelector: {} |
| 44 | |
| 45 | affinity: {} |
| 46 | |
| 47 | # probe configuration parameters |
| 48 | liveness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 49 | initialDelaySeconds: 120 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 50 | periodSeconds: 10 |
| 51 | # necessary to disable liveness probe when setting breakpoints |
| 52 | # in debugger so K8s doesn't restart unresponsive container |
| 53 | enabled: true |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 54 | port: tcp-cql |
| 55 | |
ChrisC | 73876b4 | 2020-05-27 15:45:34 +0200 | [diff] [blame] | 56 | image: onap/aaf/aaf_cass:2.1.23 |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 57 | |
| 58 | config: |
| 59 | cluster_name: osaaf |
| 60 | heap_new_size: 512M |
| 61 | max_heap_size: 1024M |
| 62 | dc: dc1 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 63 | |
| 64 | readiness: |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 65 | initialDelaySeconds: 5 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 66 | periodSeconds: 10 |
| 67 | |
| 68 | service: |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 69 | name: aaf-cass |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 70 | type: ClusterIP |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 71 | ports: |
| 72 | - name: tcp-intra |
| 73 | port: 7000 |
| 74 | - name: tls |
| 75 | port: 7001 |
| 76 | - name: tcp-cql |
| 77 | port: 9042 |
| 78 | - name: tcp-thrift |
| 79 | port: 9160 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 80 | |
| 81 | ingress: |
| 82 | enabled: false |
| 83 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 84 | # Configure resource requests and limits |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 85 | resources: |
Sylvain Desbureaux | 8f9ef35 | 2020-04-14 15:02:57 +0200 | [diff] [blame] | 86 | small: |
| 87 | limits: |
| 88 | cpu: 2100m |
| 89 | memory: 1792Mi |
| 90 | requests: |
| 91 | cpu: 30m |
| 92 | memory: 1280Mi |
| 93 | large: |
| 94 | limits: |
| 95 | cpu: 4 |
| 96 | memory: 12000Mi |
| 97 | requests: |
| 98 | cpu: 40m |
| 99 | memory: 9000Mi |
| 100 | unlimited: {} |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame] | 101 | |
| 102 | persistence: |
| 103 | enabled: true |
| 104 | #existingClaim: |
| 105 | mountPath: /dockerdata-nfs |
| 106 | mountSubPath: "cass" |
| 107 | volumeReclaimPolicy: Retain |
| 108 | accessMode: ReadWriteOnce |
Instrumental | cc3a0bd | 2019-05-01 14:18:49 -0500 | [diff] [blame] | 109 | size: 20Gi |