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