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 traversal. |
| 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 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 22 | |
| 23 | |
| 24 | # application image |
| 25 | repository: nexus3.onap.org:10001 |
Gary Wu | 9324d71 | 2018-11-21 21:34:30 -0800 | [diff] [blame^] | 26 | image: onap/aai-traversal:1.3.3 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | restartPolicy: Always |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 29 | flavor: small |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 30 | # application configuration |
| 31 | config: |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 32 | |
| 33 | # Specifies timeout information such as application specific and limits |
| 34 | timeout: |
| 35 | # If set to true application will timeout for queries taking longer than limit |
| 36 | enabled: true |
| 37 | # Specifies which apps (X-FromAppId) header should get overridden and (-1) no timeout |
| 38 | appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAI-FILEGEN-GFPIP,-1 |
| 39 | # Specifies how long should it wait before timing out the REST request |
| 40 | limit: 180000 |
| 41 | |
| 42 | # Disables the updateQueryData script to run as part of traversal |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 43 | disableUpdateQuery: true |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 44 | |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 45 | persistence: |
| 46 | mountPath: /dockerdata-nfs |
| 47 | mountSubPath: aai/aai-traversal |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 48 | |
| 49 | # default number of instances |
| 50 | replicaCount: 1 |
| 51 | |
| 52 | nodeSelector: {} |
| 53 | |
| 54 | affinity: {} |
| 55 | |
| 56 | # probe configuration parameters |
| 57 | liveness: |
| 58 | initialDelaySeconds: 60 |
| 59 | periodSeconds: 60 |
| 60 | # necessary to disable liveness probe when setting breakpoints |
| 61 | # in debugger so K8s doesn't restart unresponsive container |
| 62 | enabled: false |
| 63 | |
| 64 | readiness: |
| 65 | initialDelaySeconds: 10 |
| 66 | periodSeconds: 10 |
| 67 | |
| 68 | service: |
| 69 | type: ClusterIP |
BorislavG | 26b650f | 2018-05-13 17:11:01 +0000 | [diff] [blame] | 70 | portName: aai-traversal-8446 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 71 | internalPort: 8446 |
BorislavG | 26b650f | 2018-05-13 17:11:01 +0000 | [diff] [blame] | 72 | portName2: aai-traversal-5005 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 73 | internalPort2: 5005 |
| 74 | |
| 75 | ingress: |
| 76 | enabled: false |
| 77 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 78 | # Configure resource requests and limits |
| 79 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 80 | resources: |
| 81 | small: |
| 82 | limits: |
| 83 | cpu: 2 |
| 84 | memory: 4Gi |
| 85 | requests: |
| 86 | cpu: 2 |
| 87 | memory: 4Gi |
| 88 | large: |
| 89 | limits: |
| 90 | cpu: 4 |
| 91 | memory: 8Gi |
| 92 | requests: |
| 93 | cpu: 4 |
| 94 | memory: 8Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 95 | unlimited: {} |