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 |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 24 | cassandra: |
| 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 | ################################################################# |
| 39 | # application image |
| 40 | repository: nexus3.onap.org:10001 |
ChrisC | dc6c610 | 2021-04-19 08:33:54 +0200 | [diff] [blame] | 41 | image: onap/sdc-cassandra:1.8.5 |
| 42 | cassandraInitImage: onap/sdc-cassandra-init:1.8.5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 43 | pullPolicy: Always |
| 44 | |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 45 | config: |
| 46 | release: latest |
| 47 | maxHeapSize: "1536M" |
| 48 | heapNewSize: "512M" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 49 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 50 | #environment file |
| 51 | env: |
| 52 | name: AUTO |
| 53 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 54 | # default number of instances |
| 55 | replicaCount: 1 |
| 56 | |
| 57 | nodeSelector: {} |
| 58 | |
| 59 | affinity: {} |
| 60 | |
| 61 | # probe configuration parameters |
| 62 | liveness: |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 63 | initialDelaySeconds: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 64 | periodSeconds: 10 |
| 65 | # necessary to disable liveness probe when setting breakpoints |
| 66 | # in debugger so K8s doesn't restart unresponsive container |
| 67 | enabled: true |
| 68 | |
| 69 | readiness: |
Tomasz Golabek | 3365800 | 2019-05-30 08:59:39 +0200 | [diff] [blame] | 70 | initialDelaySeconds: 120 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 71 | periodSeconds: 10 |
| 72 | |
| 73 | service: |
| 74 | type: ClusterIP |
| 75 | name: sdc-cs |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 76 | portName: sdc-cs |
shrek2000 | f336f6d | 2020-02-25 16:11:26 +0200 | [diff] [blame] | 77 | externalPort: 9042 |
| 78 | internalPort: 9042 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 79 | |
| 80 | |
| 81 | ## Persist data to a persitent volume |
| 82 | persistence: |
| 83 | enabled: true |
| 84 | |
| 85 | ## A manually managed Persistent Volume and Claim |
| 86 | ## Requires persistence.enabled: true |
| 87 | ## If defined, PVC must be created manually before volume will be bound |
| 88 | # existingClaim: |
| 89 | volumeReclaimPolicy: Retain |
| 90 | |
| 91 | ## database data Persistent Volume Storage Class |
| 92 | ## If defined, storageClassName: <storageClass> |
| 93 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 94 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 95 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 96 | ## GKE, AWS & OpenStack) |
| 97 | ## |
| 98 | # storageClass: "-" |
Sylvain Desbureaux | 71a9fb3 | 2019-09-02 15:50:28 +0200 | [diff] [blame] | 99 | accessMode: ReadWriteOnce |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 100 | size: 2Gi |
| 101 | mountPath: /dockerdata-nfs |
| 102 | mountSubPath: /sdc/sdc-cs/CS |
| 103 | |
| 104 | ingress: |
| 105 | enabled: false |