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