Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +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 | |
| 16 | # Default values for mariadb. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 21 | persistence: {} |
| 22 | |
| 23 | |
| 24 | # application image |
| 25 | repository: nexus3.onap.org:10001 |
Gary Wu | 7a69b08 | 2018-05-08 07:28:24 -0700 | [diff] [blame] | 26 | image: onap/music/cassandra_music:3.0.0 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
| 29 | # application configuration |
| 30 | config: |
| 31 | cassandraUsername: root |
| 32 | cassandraPassword: Aa123456 |
st782s | 76972f7 | 2018-05-02 17:27:57 -0400 | [diff] [blame] | 33 | cassandraJvmOpts: -Xmx2536m -Xms2536m |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 34 | |
| 35 | # default number of instances |
| 36 | replicaCount: 1 |
| 37 | |
| 38 | nodeSelector: {} |
| 39 | |
| 40 | affinity: {} |
| 41 | |
| 42 | # probe configuration parameters |
| 43 | liveness: |
| 44 | initialDelaySeconds: 10 |
| 45 | periodSeconds: 10 |
| 46 | # necessary to disable liveness probe when setting breakpoints |
| 47 | # in debugger so K8s doesn't restart unresponsive container |
| 48 | enabled: true |
| 49 | |
| 50 | readiness: |
| 51 | initialDelaySeconds: 10 |
| 52 | periodSeconds: 10 |
| 53 | |
Roger Maitland | 28c0645 | 2018-04-10 14:43:57 -0400 | [diff] [blame] | 54 | ## Persist data to a persitent volume |
| 55 | persistence: |
| 56 | enabled: true |
| 57 | |
| 58 | ## A manually managed Persistent Volume and Claim |
| 59 | ## Requires persistence.enabled: true |
| 60 | ## If defined, PVC must be created manually before volume will be bound |
| 61 | # existingClaim: |
| 62 | volumeReclaimPolicy: Retain |
| 63 | |
| 64 | ## database data Persistent Volume Storage Class |
| 65 | ## If defined, storageClassName: <storageClass> |
| 66 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 67 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 68 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 69 | ## GKE, AWS & OpenStack) |
| 70 | ## |
| 71 | # storageClass: "-" |
Sylvain Desbureaux | cce22e9 | 2019-09-02 14:18:42 +0200 | [diff] [blame] | 72 | accessMode: ReadWriteOnce |
Roger Maitland | 28c0645 | 2018-04-10 14:43:57 -0400 | [diff] [blame] | 73 | size: 2Gi |
| 74 | mountPath: /dockerdata-nfs |
| 75 | mountSubPath: portal/cassandra/data |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 76 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 77 | service: |
| 78 | type: ClusterIP |
| 79 | name: portal-cassandra |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 80 | portName: portal-cassandra |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 81 | externalPort: 9160 |
| 82 | internalPort: 9160 |
| 83 | externalPort2: 7000 |
| 84 | internalPort2: 7000 |
| 85 | externalPort3: 7001 |
| 86 | internalPort3: 7001 |
| 87 | externalPort4: 7199 |
| 88 | internalPort4: 7199 |
| 89 | externalPort5: 9042 |
| 90 | internalPort5: 9042 |
| 91 | |
| 92 | ingress: |
| 93 | enabled: false |
| 94 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 95 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 96 | flavor: small |
| 97 | # Segregation for Different environment (Small and Large) |
| 98 | resources: |
| 99 | small: |
| 100 | limits: |
| 101 | cpu: 2 |
| 102 | memory: 8Gi |
| 103 | requests: |
| 104 | cpu: 1 |
| 105 | memory: 4Gi |
| 106 | large: |
| 107 | limits: |
| 108 | cpu: 4 |
| 109 | memory: 10Gi |
| 110 | requests: |
| 111 | cpu: 2 |
| 112 | memory: 6Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 113 | unlimited: {} |