Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, AT&T, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 ZTE |
Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [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 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 24 | sdc_cassandra: |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 25 | #This flag allows SDC to instantiate its own cluster, serviceName |
| 26 | #should be sdc-cs if this flag is enabled |
| 27 | localCluster: false |
| 28 | #The cassandra service name to connect to (default: shared cassandra service) |
dasarathi528024 | 65e8f78 | 2023-05-03 09:51:20 +0000 | [diff] [blame] | 29 | #in case of using k8ssandra-operator in the common cassandra installation |
| 30 | #the service name is: |
Andreas Geissler | e5f9156 | 2023-07-10 14:31:00 +0200 | [diff] [blame] | 31 | serviceName: cassandra-dc1-service |
dasarathi528024 | 65e8f78 | 2023-05-03 09:51:20 +0000 | [diff] [blame] | 32 | #in case of local k8ssandra-operator instance it is |
| 33 | #serviceName: sdc-cs-dc1-service |
| 34 | #in case the older cassandra installation is used: |
Andreas Geissler | e5f9156 | 2023-07-10 14:31:00 +0200 | [diff] [blame] | 35 | #serviceName: cassandra |
dasarathi528024 | 65e8f78 | 2023-05-03 09:51:20 +0000 | [diff] [blame] | 36 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 37 | #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled |
| 38 | #to match with its own cluster replica |
| 39 | replicaCount: 3 |
| 40 | clusterName: cassandra |
dasarathi528024 | 65e8f78 | 2023-05-03 09:51:20 +0000 | [diff] [blame] | 41 | #datacenter name (use "dc1" in case of k8ssandra-operator, otherwise "Pod") |
Andreas Geissler | e5f9156 | 2023-07-10 14:31:00 +0200 | [diff] [blame] | 42 | dataCenter: dc1 |
dasarathi528024 | 65e8f78 | 2023-05-03 09:51:20 +0000 | [diff] [blame] | 43 | #cqlVersion for cassandra 3.11.* must be "3.4.4" and cassandra 4.* must be "3.4.5" |
Andreas Geissler | e5f9156 | 2023-07-10 14:31:00 +0200 | [diff] [blame] | 44 | cqlVersion: "3.4.5" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 45 | |
| 46 | ################################################################# |
| 47 | # Application configuration defaults. |
| 48 | ################################################################# |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 49 | |
| 50 | #Used only if localCluster is enabled. Instantiates SDC's own cassandra cluster |
| 51 | cassandra: |
| 52 | nameOverride: sdc-cs |
| 53 | replicaCount: 3 |
| 54 | service: |
| 55 | name: sdc-cs |
| 56 | serviceAccount: |
| 57 | nameOverride: sdc-cs |
| 58 | persistence: |
| 59 | mountSubPath: sdc/sdc-cs/CS |
| 60 | enabled: true |
dasarathi528024 | 65e8f78 | 2023-05-03 09:51:20 +0000 | [diff] [blame] | 61 | k8ssandraOperator: |
| 62 | enabled: false |
| 63 | config: |
| 64 | clusterName: sdc-cs |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 65 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 66 | # application image |
| 67 | repository: nexus3.onap.org:10001 |
MichaelMorris | de680b0 | 2023-06-06 17:23:58 +0100 | [diff] [blame] | 68 | image: onap/sdc-cassandra:1.12.5 |
| 69 | cassandraInitImage: onap/sdc-cassandra-init:1.12.5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 70 | pullPolicy: Always |
| 71 | |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 72 | config: |
| 73 | release: latest |
| 74 | maxHeapSize: "1536M" |
| 75 | heapNewSize: "512M" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 76 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 77 | #environment file |
| 78 | env: |
| 79 | name: AUTO |
| 80 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 81 | # default number of instances |
| 82 | replicaCount: 1 |
| 83 | |
| 84 | nodeSelector: {} |
| 85 | |
| 86 | affinity: {} |
| 87 | |
| 88 | # probe configuration parameters |
| 89 | liveness: |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 90 | initialDelaySeconds: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 91 | periodSeconds: 10 |
| 92 | # necessary to disable liveness probe when setting breakpoints |
| 93 | # in debugger so K8s doesn't restart unresponsive container |
| 94 | enabled: true |
| 95 | |
| 96 | readiness: |
Tomasz Golabek | 3365800 | 2019-05-30 08:59:39 +0200 | [diff] [blame] | 97 | initialDelaySeconds: 120 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 98 | periodSeconds: 10 |
| 99 | |
| 100 | service: |
| 101 | type: ClusterIP |
| 102 | name: sdc-cs |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 103 | portName: sdc-cs |
shrek2000 | f336f6d | 2020-02-25 16:11:26 +0200 | [diff] [blame] | 104 | externalPort: 9042 |
| 105 | internalPort: 9042 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 106 | |
| 107 | |
| 108 | ## Persist data to a persitent volume |
| 109 | persistence: |
| 110 | enabled: true |
| 111 | |
| 112 | ## A manually managed Persistent Volume and Claim |
| 113 | ## Requires persistence.enabled: true |
| 114 | ## If defined, PVC must be created manually before volume will be bound |
| 115 | # existingClaim: |
| 116 | volumeReclaimPolicy: Retain |
| 117 | |
| 118 | ## database data Persistent Volume Storage Class |
| 119 | ## If defined, storageClassName: <storageClass> |
| 120 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 121 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 122 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 123 | ## GKE, AWS & OpenStack) |
| 124 | ## |
| 125 | # storageClass: "-" |
Sylvain Desbureaux | 71a9fb3 | 2019-09-02 15:50:28 +0200 | [diff] [blame] | 126 | accessMode: ReadWriteOnce |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 127 | size: 2Gi |
| 128 | mountPath: /dockerdata-nfs |
| 129 | mountSubPath: /sdc/sdc-cs/CS |
| 130 | |
| 131 | ingress: |
| 132 | enabled: false |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 133 | |
| 134 | #Pods Service Account |
| 135 | serviceAccount: |
| 136 | nameOverride: sdc-cs |
| 137 | roles: |
| 138 | - read |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 139 | |
| 140 | wait_for_job_container: |
| 141 | containers: |
| 142 | - '{{ include "common.name" . }}-job' |