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 |
Gary Wu | 9324d71 | 2018-11-21 21:34:30 -0800 | [diff] [blame] | 31 | image: onap/aai-graphadmin:1.0.1 |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | restartPolicy: Always |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 34 | flavor: small |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 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 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 47 | maxFix: |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 48 | dataGrooming: 150 |
| 49 | dupeTool: 25 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 50 | |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 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 | |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 110 | resources: |
| 111 | small: |
| 112 | limits: |
| 113 | cpu: 2 |
| 114 | memory: 4Gi |
| 115 | requests: |
jimmy | 297f59b | 2018-12-06 15:05:48 -0500 | [diff] [blame^] | 116 | cpu: 0.5 |
| 117 | memory: 1536Mi |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 118 | large: |
| 119 | limits: |
| 120 | cpu: 4 |
| 121 | memory: 8Gi |
| 122 | requests: |
jimmy | 297f59b | 2018-12-06 15:05:48 -0500 | [diff] [blame^] | 123 | cpu: 1 |
| 124 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 125 | unlimited: {} |