Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # Copyright (c) 2018 Amdocs, Bell Canada, AT&T |
| 2 | # Modifications Copyright (c) 2020 Nokia |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | # Default values for traversal. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
| 21 | readinessImage: onap/oom/readiness:3.0.1 |
| 22 | |
| 23 | |
| 24 | # application image |
| 25 | repository: nexus3.onap.org:10001 |
| 26 | image: onap/aai-traversal:1.7.2 |
| 27 | pullPolicy: Always |
| 28 | restartPolicy: Always |
| 29 | flavor: small |
| 30 | flavorOverride: small |
| 31 | # application configuration |
| 32 | config: |
| 33 | |
| 34 | # Specifies timeout information such as application specific and limits |
| 35 | timeout: |
| 36 | # If set to true application will timeout for queries taking longer than limit |
| 37 | enabled: true |
| 38 | # Specifies which apps (X-FromAppId) header should get overridden and (-1) no timeout |
| 39 | appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAI-FILEGEN-GFPIP,-1 |
| 40 | # Specifies how long should it wait before timing out the REST request |
| 41 | limit: 180000 |
| 42 | |
| 43 | # Disables the updateQueryData script to run as part of traversal |
| 44 | disableUpdateQuery: true |
| 45 | |
| 46 | # Override of the DSL Timeout Limit |
| 47 | dslOverride: 'ZV4V7E3N77SKIB6MR9MHQ6M4P6Q99Z7M76RBODA' |
| 48 | |
| 49 | dsl: |
| 50 | # Dsl timeout configuration |
| 51 | timeout: |
| 52 | # Whether or not the dsl is enabled |
| 53 | enabled: true |
| 54 | # Default time limit of the DSL query |
| 55 | limit: 150000 |
| 56 | # App Specific Timeout Limit for each of the X-FromAppId |
| 57 | appspecific: |
| 58 | - JUNITTESTAPP1,1 |
| 59 | - JUNITTESTAPP2,-1 |
| 60 | - AAI-TOOLS,-1 |
| 61 | - DCAE-CCS,1200000 |
| 62 | - DCAES,1200000 |
| 63 | - VPESAT,-1 |
| 64 | - AAI-CACHER,-1 |
| 65 | - VidAaiController,300000 |
| 66 | - AAI-UI,180000 |
| 67 | |
| 68 | persistence: |
| 69 | mountPath: /dockerdata-nfs |
| 70 | mountSubPath: aai/aai-traversal |
| 71 | |
| 72 | # default number of instances |
| 73 | replicaCount: 1 |
| 74 | |
| 75 | nodeSelector: {} |
| 76 | |
| 77 | affinity: {} |
| 78 | |
| 79 | # probe configuration parameters |
| 80 | liveness: |
| 81 | initialDelaySeconds: 60 |
| 82 | periodSeconds: 60 |
| 83 | # necessary to disable liveness probe when setting breakpoints |
| 84 | # in debugger so K8s doesn't restart unresponsive container |
| 85 | enabled: false |
| 86 | |
| 87 | readiness: |
| 88 | initialDelaySeconds: 10 |
| 89 | periodSeconds: 10 |
| 90 | |
| 91 | service: |
| 92 | type: ClusterIP |
| 93 | portName: aai-traversal-8446 |
| 94 | internalPort: 8446 |
| 95 | portName2: aai-traversal-5005 |
| 96 | internalPort2: 5005 |
| 97 | |
| 98 | ingress: |
| 99 | enabled: false |
| 100 | |
| 101 | # Configure resource requests and limits |
| 102 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 103 | resources: |
| 104 | small: |
| 105 | limits: |
| 106 | cpu: 2 |
| 107 | memory: 4Gi |
| 108 | requests: |
| 109 | cpu: 1 |
| 110 | memory: 3Gi |
| 111 | large: |
| 112 | limits: |
| 113 | cpu: 4 |
| 114 | memory: 8Gi |
| 115 | requests: |
| 116 | cpu: 2 |
| 117 | memory: 4Gi |
| 118 | unlimited: {} |