BorislavG | 3c751b3 | 2018-03-26 21:13:34 +0300 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, AT&T, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
BorislavG | 3c751b3 | 2018-03-26 21:13:34 +0300 | [diff] [blame] | 20 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
BorislavG | 3c751b3 | 2018-03-26 21:13:34 +0300 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | persistence: {} |
| 25 | |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
Gary Wu | 4662166 | 2018-05-30 14:30:47 -0700 | [diff] [blame] | 31 | image: onap/org.onap.dcaegen2.deployments.redis-cluster-container:1.0.0 |
BorislavG | 3c751b3 | 2018-03-26 21:13:34 +0300 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
| 34 | # application configuration |
| 35 | # Example: |
| 36 | config: {} |
| 37 | |
| 38 | # default number of instances |
| 39 | replicaCount: 6 |
| 40 | |
| 41 | nodeSelector: {} |
| 42 | |
| 43 | affinity: {} |
| 44 | |
| 45 | # probe configuration parameters |
| 46 | liveness: |
BorislavG | b937454 | 2018-04-15 12:10:48 +0000 | [diff] [blame] | 47 | initialDelaySeconds: 60 |
BorislavG | 3c751b3 | 2018-03-26 21:13:34 +0300 | [diff] [blame] | 48 | periodSeconds: 10 |
BorislavG | b937454 | 2018-04-15 12:10:48 +0000 | [diff] [blame] | 49 | timeoutSeconds: 10 |
BorislavG | 3c751b3 | 2018-03-26 21:13:34 +0300 | [diff] [blame] | 50 | # necessary to disable liveness probe when setting breakpoints |
| 51 | # in debugger so K8s doesn't restart unresponsive container |
| 52 | enabled: true |
| 53 | |
| 54 | readiness: |
| 55 | initialDelaySeconds: 15 |
| 56 | periodSeconds: 10 |
| 57 | |
| 58 | service: |
| 59 | #Example service definition with external, internal and node ports. |
| 60 | #Services may use any combination of ports depending on the 'type' of |
| 61 | #service being defined. |
| 62 | type: NodePort |
BorislavG | 7eeb66d | 2018-04-22 11:53:43 +0000 | [diff] [blame] | 63 | name: dcae-redis |
| 64 | portName: client |
BorislavG | 3c751b3 | 2018-03-26 21:13:34 +0300 | [diff] [blame] | 65 | externalPort: 6379 |
| 66 | internalPort: 6379 |
| 67 | nodePort: 86 |
BorislavG | 7eeb66d | 2018-04-22 11:53:43 +0000 | [diff] [blame] | 68 | portName2: gossip |
BorislavG | 3c751b3 | 2018-03-26 21:13:34 +0300 | [diff] [blame] | 69 | externalPort2: 16379 |
| 70 | internalPort2: 16379 |
| 71 | nodePort2: 87 |
| 72 | |
| 73 | ## Persist data to a persitent volume |
| 74 | persistence: |
| 75 | enabled: true |
| 76 | |
| 77 | ## A manually managed Persistent Volume and Claim |
| 78 | ## Requires persistence.enabled: true |
| 79 | ## If defined, PVC must be created manually before volume will be bound |
| 80 | # existingClaim: |
| 81 | volumeReclaimPolicy: Retain |
| 82 | |
| 83 | ## database data Persistent Volume Storage Class |
| 84 | ## If defined, storageClassName: <storageClass> |
| 85 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 86 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 87 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 88 | ## GKE, AWS & OpenStack) |
| 89 | accessMode: ReadWriteOnce |
| 90 | size: 10Mi |
| 91 | mountPath: /dockerdata-nfs |
| 92 | mountSubPath: redis/data |
| 93 | |
| 94 | ingress: |
| 95 | enabled: false |
| 96 | |
vaibhav_16dec | db582fa | 2018-09-20 12:32:47 +0000 | [diff] [blame] | 97 | # Resource Limit flavor -By Default using small |
| 98 | flavor: small |
| 99 | # Segregation for Different environment (Small and Large) |
| 100 | resources: |
| 101 | small: |
| 102 | limits: |
| 103 | cpu: 2 |
| 104 | memory: 2Gi |
| 105 | requests: |
| 106 | cpu: 1 |
| 107 | memory: 1Gi |
| 108 | large: |
| 109 | limits: |
| 110 | cpu: 4 |
| 111 | memory: 4Gi |
| 112 | requests: |
| 113 | cpu: 2 |
| 114 | memory: 2Gi |
| 115 | unlimited: {} |