Michael O'Brien | 294fade | 2019-05-13 14:46:18 -0400 | [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: {} |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 25 | readinessImage: onap/oom/readiness:3.0.1 |
Sylvain Desbureaux | 29611a9 | 2019-11-05 11:57:01 +0100 | [diff] [blame] | 26 | |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 27 | # application image |
| 28 | repository: nexus3.onap.org:10001 |
Michael O'Brien | 294fade | 2019-05-13 14:46:18 -0400 | [diff] [blame] | 29 | image: onap/data-router:1.3.3 |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 30 | pullPolicy: Always |
| 31 | restartPolicy: Always |
| 32 | |
| 33 | # BusyBox image |
| 34 | busyboxRepository: registry.hub.docker.com |
| 35 | busyboxImage: library/busybox:latest |
| 36 | |
| 37 | |
| 38 | # application configuration |
| 39 | config: |
| 40 | keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 41 | keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 42 | |
| 43 | |
| 44 | # default number of instances |
| 45 | replicaCount: 1 |
| 46 | |
| 47 | nodeSelector: {} |
| 48 | |
| 49 | affinity: {} |
| 50 | |
| 51 | # probe configuration parameters |
| 52 | liveness: |
Leigh, Phillip (pl876u) | 72c4aa0 | 2019-01-10 16:52:06 -0500 | [diff] [blame] | 53 | initialDelaySeconds: 60 |
| 54 | periodSeconds: 30 |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 55 | # necessary to disable liveness probe when setting breakpoints |
| 56 | # in debugger so K8s doesn't restart unresponsive container |
| 57 | enabled: true |
| 58 | |
| 59 | readiness: |
Leigh, Phillip (pl876u) | 72c4aa0 | 2019-01-10 16:52:06 -0500 | [diff] [blame] | 60 | initialDelaySeconds: 60 |
| 61 | periodSeconds: 30 |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 62 | |
| 63 | service: |
| 64 | name: pomba-data-router |
| 65 | type: NodePort |
| 66 | externalPort: 9502 |
| 67 | internalPort: 9502 |
| 68 | nodePort: 49 |
| 69 | |
| 70 | ingress: |
| 71 | enabled: false |
Lucjan Bryndza | a763773 | 2019-11-28 11:58:16 +0100 | [diff] [blame] | 72 | service: |
| 73 | - baseaddr: "pombadatarouter" |
| 74 | name: "pomba-data-router" |
| 75 | port: 9502 |
| 76 | config: |
| 77 | ssl: "none" |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 78 | |
| 79 | persistence: |
| 80 | enabled: true |
| 81 | |
| 82 | ## A manually managed Persistent Volume and Claim |
| 83 | ## Requires persistence.enabled: true |
| 84 | ## If defined, PVC must be created manually before volume will be bound |
| 85 | # existingClaim: |
| 86 | volumeReclaimPolicy: Retain |
| 87 | |
| 88 | ## database data Persistent Volume Storage Class |
| 89 | ## If defined, storageClassName: <storageClass> |
| 90 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 91 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 92 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 93 | ## GKE, AWS & OpenStack) |
| 94 | ## |
| 95 | ## storageClass: "-" |
Sylvain Desbureaux | 29611a9 | 2019-11-05 11:57:01 +0100 | [diff] [blame] | 96 | accessMode: ReadWriteOnce |
Jennie Jia | 20bb5cd | 2018-08-16 15:50:33 +0000 | [diff] [blame] | 97 | size: 2Gi |
| 98 | mountPath: /dockerdata-nfs |
| 99 | mountSubPath: pomba/data-router/logs |
| 100 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 101 | # Resource Limit flavor -By Default using small |
| 102 | flavor: small |
| 103 | # Segregation for Different environment (Small and Large) |
| 104 | resources: |
| 105 | small: |
| 106 | limits: |
| 107 | cpu: 1 |
| 108 | memory: 1400Mi |
| 109 | requests: |
| 110 | cpu: 100m |
| 111 | memory: 700Mi |
| 112 | large: |
| 113 | limits: |
| 114 | cpu: 2 |
| 115 | memory: 2800Mi |
| 116 | requests: |
| 117 | cpu: 200m |
| 118 | memory: 1400Mi |
| 119 | unlimited: {} |