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 resources. |
| 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 |
Mahendra Raghuwanshi | d06d782 | 2019-03-15 06:42:07 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.2 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 22 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 23 | # application image |
| 24 | repository: nexus3.onap.org:10001 |
Harish Venkata Kajur | cd0d698 | 2019-02-12 23:56:51 -0500 | [diff] [blame] | 25 | image: onap/aai-resources:1.4-STAGING-latest |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 26 | pullPolicy: Always |
| 27 | restartPolicy: Always |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 28 | flavor: small |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 29 | # default number of instances |
| 30 | replicaCount: 1 |
| 31 | |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 32 | # Configuration for the resources deployment |
| 33 | config: |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 34 | |
| 35 | # Specifies crud related operation timeouts and overrides |
| 36 | crud: |
| 37 | timeout: |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 38 | # Specifies if the timeout for REST GET calls should be enabled |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 39 | enabled: true |
| 40 | # Specifies the timeout values for application specific |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 41 | # Its a pipe seperated list where each element before comma represents |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 42 | # the X-FromAppId and the comma after specifies the timeout limit in ms |
| 43 | # If the timeout limit is -1 then it means for these apps no timeout |
| 44 | appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1 |
| 45 | # Specifies what is the maximum timeout limit in milliseconds |
| 46 | limit: 100000 |
| 47 | |
| 48 | # Specifies configuration for bulk apis |
| 49 | bulk: |
| 50 | # Specifies for a bulk payload how many transactions in total allowed |
| 51 | limit: 30 |
| 52 | # Specifies if the bulk can be override and if it can the value |
| 53 | override: false |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 54 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 55 | nodeSelector: {} |
| 56 | |
| 57 | affinity: {} |
| 58 | |
| 59 | # probe configuration parameters |
| 60 | liveness: |
| 61 | initialDelaySeconds: 60 |
| 62 | periodSeconds: 60 |
| 63 | # necessary to disable liveness probe when setting breakpoints |
| 64 | # in debugger so K8s doesn't restart unresponsive container |
| 65 | enabled: false |
| 66 | |
| 67 | readiness: |
| 68 | initialDelaySeconds: 60 |
| 69 | periodSeconds: 10 |
| 70 | |
Ravi Geda | 2578aa1 | 2018-11-07 22:37:16 +0000 | [diff] [blame] | 71 | # application configuration |
| 72 | sidecar: |
| 73 | keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 74 | keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
| 75 | trustStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 76 | |
| 77 | service: |
| 78 | type: ClusterIP |
BorislavG | 26b650f | 2018-05-13 17:11:01 +0000 | [diff] [blame] | 79 | portName: aai-resources-8447 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 80 | internalPort: 8447 |
BorislavG | 26b650f | 2018-05-13 17:11:01 +0000 | [diff] [blame] | 81 | portName2: aai-resources-5005 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 82 | internalPort2: 5005 |
| 83 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 84 | ingress: |
| 85 | enabled: false |
| 86 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 87 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 88 | # choice for the user. This also increases chances charts run on environments with little |
| 89 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 90 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 91 | # |
| 92 | # Example: |
| 93 | # Configure resource requests and limits |
| 94 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 95 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 96 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 97 | #resources: |
| 98 | # limits: |
| 99 | # cpu: 2 |
| 100 | # memory: 4Gi |
| 101 | # requests: |
| 102 | # cpu: 2 |
| 103 | # memory: 4Gi |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 104 | resources: |
| 105 | small: |
| 106 | limits: |
| 107 | cpu: 2 |
| 108 | memory: 4Gi |
| 109 | requests: |
jimmy | 297f59b | 2018-12-06 15:05:48 -0500 | [diff] [blame] | 110 | cpu: 1 |
| 111 | memory: 3Gi |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 112 | large: |
| 113 | limits: |
| 114 | cpu: 4 |
| 115 | memory: 8Gi |
| 116 | requests: |
jimmy | 297f59b | 2018-12-06 15:05:48 -0500 | [diff] [blame] | 117 | cpu: 2 |
| 118 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 119 | unlimited: {} |