toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 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 | # Default values for data-router. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | |
| 20 | |
| 21 | # Global configuration defaults |
| 22 | global: |
| 23 | nodePortPrefix: 302 |
| 24 | persistence: {} |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 25 | readinessRepository: oomk8s |
| 26 | readinessImage: readiness-check:2.0.0 |
| 27 | |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 28 | # application image |
| 29 | repository: nexus3.onap.org:10001 |
Gary Wu | bc1e731 | 2018-10-18 09:48:31 -0700 | [diff] [blame] | 30 | image: onap/data-router:1.3.0 |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 31 | pullPolicy: Always |
| 32 | restartPolicy: Always |
| 33 | |
| 34 | # BusyBox image |
| 35 | busyboxRepository: registry.hub.docker.com |
| 36 | busyboxImage: library/busybox:latest |
| 37 | |
| 38 | |
| 39 | # application configuration |
| 40 | config: |
| 41 | keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 42 | keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 43 | |
| 44 | |
| 45 | # default number of instances |
| 46 | replicaCount: 1 |
| 47 | |
| 48 | nodeSelector: {} |
| 49 | |
| 50 | affinity: {} |
| 51 | |
| 52 | # probe configuration parameters |
| 53 | liveness: |
| 54 | initialDelaySeconds: 10 |
| 55 | periodSeconds: 10 |
| 56 | # necessary to disable liveness probe when setting breakpoints |
| 57 | # in debugger so K8s doesn't restart unresponsive container |
| 58 | enabled: true |
| 59 | |
| 60 | readiness: |
| 61 | initialDelaySeconds: 10 |
| 62 | periodSeconds: 10 |
| 63 | |
| 64 | service: |
| 65 | name: pomba-data-router |
| 66 | type: NodePort |
| 67 | externalPort: 9502 |
| 68 | internalPort: 9502 |
| 69 | nodePort: 49 |
| 70 | |
| 71 | ingress: |
| 72 | enabled: false |
| 73 | |
| 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 | ## |
| 90 | ## storageClass: "-" |
| 91 | accessMode: ReadWriteMany |
| 92 | size: 2Gi |
| 93 | mountPath: /dockerdata-nfs |
| 94 | mountSubPath: pomba/data-router/logs |
| 95 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 96 | # Resource Limit flavor -By Default using small |
| 97 | flavor: small |
| 98 | # Segregation for Different environment (Small and Large) |
| 99 | resources: |
| 100 | small: |
| 101 | limits: |
| 102 | cpu: 1 |
| 103 | memory: 1400Mi |
| 104 | requests: |
| 105 | cpu: 100m |
| 106 | memory: 700Mi |
| 107 | large: |
| 108 | limits: |
| 109 | cpu: 2 |
| 110 | memory: 2800Mi |
| 111 | requests: |
| 112 | cpu: 200m |
| 113 | memory: 1400Mi |
| 114 | unlimited: {} |