toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
| 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 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 15 | # Default values for data-router. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 20 | |
| 21 | |
| 22 | # application image |
| 23 | repository: nexus3.onap.org:10001 |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 24 | image: onap/data-router:1.3-STAGING-latest |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 25 | pullPolicy: Always |
| 26 | restartPolicy: Always |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 27 | flavor: small |
Mandeep Khinda | 9ed6505 | 2018-04-09 21:09:51 +0000 | [diff] [blame] | 28 | dockerhubRepository: registry.hub.docker.com |
| 29 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
| 30 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 31 | # application configuration |
| 32 | config: |
| 33 | keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 34 | keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 35 | |
| 36 | |
| 37 | # default number of instances |
| 38 | replicaCount: 1 |
| 39 | |
| 40 | nodeSelector: {} |
| 41 | |
| 42 | affinity: {} |
| 43 | |
| 44 | # probe configuration parameters |
| 45 | liveness: |
| 46 | initialDelaySeconds: 10 |
| 47 | periodSeconds: 10 |
| 48 | # necessary to disable liveness probe when setting breakpoints |
| 49 | # in debugger so K8s doesn't restart unresponsive container |
| 50 | enabled: true |
| 51 | |
| 52 | readiness: |
| 53 | initialDelaySeconds: 10 |
| 54 | periodSeconds: 10 |
| 55 | |
| 56 | service: |
| 57 | name: aai-data-router |
| 58 | internalPort: 9502 |
| 59 | |
| 60 | ingress: |
| 61 | enabled: false |
| 62 | |
| 63 | persistence: |
| 64 | enabled: true |
| 65 | |
| 66 | ## A manually managed Persistent Volume and Claim |
| 67 | ## Requires persistence.enabled: true |
| 68 | ## If defined, PVC must be created manually before volume will be bound |
| 69 | # existingClaim: |
| 70 | volumeReclaimPolicy: Retain |
| 71 | |
| 72 | ## database data Persistent Volume Storage Class |
| 73 | ## If defined, storageClassName: <storageClass> |
| 74 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 75 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 76 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 77 | ## GKE, AWS & OpenStack) |
| 78 | ## |
| 79 | ## storageClass: "-" |
| 80 | accessMode: ReadWriteMany |
| 81 | size: 2Gi |
| 82 | mountPath: /dockerdata-nfs |
| 83 | mountSubPath: aai/data-router/logs |
| 84 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 85 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 86 | # choice for the user. This also increases chances charts run on environments with little |
| 87 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 88 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 89 | # |
| 90 | # Example: |
| 91 | # Configure resource requests and limits |
| 92 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 93 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 94 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 95 | #resources: |
| 96 | # limits: |
| 97 | # cpu: 2 |
| 98 | # memory: 4Gi |
| 99 | # requests: |
| 100 | # cpu: 2 |
| 101 | # memory: 4Gi |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 102 | resources: |
| 103 | small: |
| 104 | limits: |
| 105 | cpu: 2 |
| 106 | memory: 4Gi |
| 107 | requests: |
| 108 | cpu: 1 |
| 109 | memory: 2Gi |
| 110 | large: |
| 111 | limits: |
| 112 | cpu: 4 |
| 113 | memory: 8Gi |
| 114 | requests: |
| 115 | cpu: 4 |
| 116 | memory: 8Gi |