Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 1 | # |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # org.onap.aai |
| 4 | # ================================================================================ |
| 5 | # Copyright © 2018 AT&T Intellectual Property. All rights reserved. |
| 6 | # ================================================================================ |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # ============LICENSE_END========================================================= |
| 19 | |
| 20 | # Default values for resources. |
| 21 | # This is a YAML-formatted file. |
| 22 | # Declare variables to be passed into your templates. |
| 23 | global: # global defaults |
| 24 | nodePortPrefix: 302 |
| 25 | readinessRepository: oomk8s |
| 26 | readinessImage: readiness-check:2.0.0 |
| 27 | |
| 28 | |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
| 31 | image: onap/aai-graphadmin:1.0-STAGING-latest |
| 32 | pullPolicy: Always |
| 33 | restartPolicy: Always |
| 34 | |
| 35 | # default number of instances |
| 36 | replicaCount: 1 |
| 37 | |
| 38 | # Configuration for the graphadmin deployment |
| 39 | config: |
| 40 | |
| 41 | # Specifies the timeout limit for the REST API requests |
| 42 | timeout: |
| 43 | enabled: true |
| 44 | limit: 180000 |
| 45 | |
| 46 | # Default maximum records to fix for the data grooming and dupeTool |
| 47 | maxFix: |
| 48 | dataGrooming: 150 |
| 49 | dupeTool: 25 |
| 50 | |
| 51 | # Default number of sleep minutes for dataGrooming and dupeTool |
| 52 | sleepMinutes: |
| 53 | dataGrooming: 7 |
| 54 | dupeTool: 7 |
| 55 | |
| 56 | # Cron specific attributes to be triggered for the graphadmin spring cron tasks |
| 57 | cron: |
| 58 | # Specifies that the data grooming tool which runs duplicates should be enabled |
| 59 | dataGrooming: |
| 60 | enabled: true |
| 61 | # Specifies that the data snapshot which takes a graphson snapshot should be enabled |
| 62 | dataSnapshot: |
| 63 | enabled: true |
| 64 | params: JUST_TAKE_SNAPSHOT |
| 65 | |
| 66 | # Data cleanup which zips snapshots older than x days and deletes older than y days |
| 67 | dataCleanup: |
| 68 | |
| 69 | dataGrooming: |
| 70 | enabled: true |
| 71 | # Zips up the dataGrooming files older than 5 days |
| 72 | ageZip: 5 |
| 73 | # Deletes the dataGrooming files older than 30 days |
| 74 | ageDelete: 30 |
| 75 | |
| 76 | dataSnapshot: |
| 77 | enabled: true |
| 78 | # Zips up the dataSnapshot graphson files older than 5 days |
| 79 | ageZip: 5 |
| 80 | # Deletes the dataSnapshot graphson files older than 30 days |
| 81 | ageDelete: 30 |
| 82 | |
| 83 | nodeSelector: {} |
| 84 | |
| 85 | affinity: {} |
| 86 | |
| 87 | # probe configuration parameters |
| 88 | liveness: |
| 89 | initialDelaySeconds: 60 |
| 90 | periodSeconds: 60 |
| 91 | # necessary to disable liveness probe when setting breakpoints |
| 92 | # in debugger so K8s doesn't restart unresponsive container |
| 93 | enabled: false |
| 94 | |
| 95 | readiness: |
| 96 | initialDelaySeconds: 60 |
| 97 | periodSeconds: 10 |
| 98 | |
| 99 | service: |
| 100 | type: ClusterIP |
| 101 | # REST API port for the graphadmin microservice |
| 102 | portName: aai-graphadmin-8449 |
| 103 | internalPort: 8449 |
| 104 | portName2: aai-graphadmin-5005 |
| 105 | internalPort2: 5005 |
| 106 | |
| 107 | ingress: |
| 108 | enabled: false |
| 109 | |
| 110 | resources: {} |
| 111 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 112 | # choice for the user. This also increases chances charts run on environments with little |
| 113 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 114 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 115 | # |
| 116 | # Example: |
| 117 | # Configure resource requests and limits |
| 118 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 119 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 120 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 121 | #resources: |
| 122 | # limits: |
| 123 | # cpu: 2 |
| 124 | # memory: 4Gi |
| 125 | # requests: |
| 126 | # cpu: 2 |
| 127 | # memory: 4Gi |