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