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) |
| 29 | serviceName: cassandra |
| 30 | #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled |
| 31 | #to match with its own cluster replica |
| 32 | replicaCount: 3 |
| 33 | clusterName: cassandra |
| 34 | dataCenter: Pod |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 35 | |
| 36 | ################################################################# |
| 37 | # Application configuration defaults. |
| 38 | ################################################################# |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame^] | 39 | |
| 40 | #Used only if localCluster is enabled. Instantiates SDC's own cassandra cluster |
| 41 | cassandra: |
| 42 | nameOverride: sdc-cs |
| 43 | replicaCount: 3 |
| 44 | service: |
| 45 | name: sdc-cs |
| 46 | serviceAccount: |
| 47 | nameOverride: sdc-cs |
| 48 | persistence: |
| 49 | mountSubPath: sdc/sdc-cs/CS |
| 50 | enabled: true |
| 51 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 52 | # application image |
| 53 | repository: nexus3.onap.org:10001 |
MichaelMorris | 4501e19 | 2021-11-11 17:48:44 +0000 | [diff] [blame] | 54 | image: onap/sdc-cassandra:1.9.5 |
| 55 | cassandraInitImage: onap/sdc-cassandra-init:1.9.5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 56 | pullPolicy: Always |
| 57 | |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 58 | config: |
| 59 | release: latest |
| 60 | maxHeapSize: "1536M" |
| 61 | heapNewSize: "512M" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 62 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 63 | #environment file |
| 64 | env: |
| 65 | name: AUTO |
| 66 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 67 | # default number of instances |
| 68 | replicaCount: 1 |
| 69 | |
| 70 | nodeSelector: {} |
| 71 | |
| 72 | affinity: {} |
| 73 | |
| 74 | # probe configuration parameters |
| 75 | liveness: |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 76 | initialDelaySeconds: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 77 | periodSeconds: 10 |
| 78 | # necessary to disable liveness probe when setting breakpoints |
| 79 | # in debugger so K8s doesn't restart unresponsive container |
| 80 | enabled: true |
| 81 | |
| 82 | readiness: |
Tomasz Golabek | 3365800 | 2019-05-30 08:59:39 +0200 | [diff] [blame] | 83 | initialDelaySeconds: 120 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 84 | periodSeconds: 10 |
| 85 | |
| 86 | service: |
| 87 | type: ClusterIP |
| 88 | name: sdc-cs |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 89 | portName: sdc-cs |
shrek2000 | f336f6d | 2020-02-25 16:11:26 +0200 | [diff] [blame] | 90 | externalPort: 9042 |
| 91 | internalPort: 9042 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 92 | |
| 93 | |
| 94 | ## Persist data to a persitent volume |
| 95 | persistence: |
| 96 | enabled: true |
| 97 | |
| 98 | ## A manually managed Persistent Volume and Claim |
| 99 | ## Requires persistence.enabled: true |
| 100 | ## If defined, PVC must be created manually before volume will be bound |
| 101 | # existingClaim: |
| 102 | volumeReclaimPolicy: Retain |
| 103 | |
| 104 | ## database data Persistent Volume Storage Class |
| 105 | ## If defined, storageClassName: <storageClass> |
| 106 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 107 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 108 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 109 | ## GKE, AWS & OpenStack) |
| 110 | ## |
| 111 | # storageClass: "-" |
Sylvain Desbureaux | 71a9fb3 | 2019-09-02 15:50:28 +0200 | [diff] [blame] | 112 | accessMode: ReadWriteOnce |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 113 | size: 2Gi |
| 114 | mountPath: /dockerdata-nfs |
| 115 | mountSubPath: /sdc/sdc-cs/CS |
| 116 | |
| 117 | ingress: |
| 118 | enabled: false |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 119 | |
| 120 | #Pods Service Account |
| 121 | serviceAccount: |
| 122 | nameOverride: sdc-cs |
| 123 | roles: |
| 124 | - read |