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 |
Jimmy Forsyth | 463faa4 | 2019-01-15 10:08:56 -0500 | [diff] [blame] | 31 | image: onap/aai-graphadmin:1.0.4 |
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 | |
Harish Venkata Kajur | 6550bc6 | 2019-01-08 21:58:53 -0500 | [diff] [blame] | 41 | groupId: 1000 |
| 42 | userId: 1000 |
| 43 | |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 44 | # Specifies the timeout limit for the REST API requests |
| 45 | timeout: |
| 46 | enabled: true |
| 47 | limit: 180000 |
| 48 | |
| 49 | # Default maximum records to fix for the data grooming and dupeTool |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 50 | maxFix: |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 51 | dataGrooming: 150 |
| 52 | dupeTool: 25 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 53 | |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 54 | # Default number of sleep minutes for dataGrooming and dupeTool |
| 55 | sleepMinutes: |
| 56 | dataGrooming: 7 |
| 57 | dupeTool: 7 |
| 58 | |
| 59 | # Cron specific attributes to be triggered for the graphadmin spring cron tasks |
| 60 | cron: |
| 61 | # Specifies that the data grooming tool which runs duplicates should be enabled |
| 62 | dataGrooming: |
| 63 | enabled: true |
| 64 | # Specifies that the data snapshot which takes a graphson snapshot should be enabled |
| 65 | dataSnapshot: |
| 66 | enabled: true |
| 67 | params: JUST_TAKE_SNAPSHOT |
| 68 | |
| 69 | # Data cleanup which zips snapshots older than x days and deletes older than y days |
| 70 | dataCleanup: |
| 71 | |
| 72 | dataGrooming: |
| 73 | enabled: true |
| 74 | # Zips up the dataGrooming files older than 5 days |
| 75 | ageZip: 5 |
| 76 | # Deletes the dataGrooming files older than 30 days |
| 77 | ageDelete: 30 |
| 78 | |
| 79 | dataSnapshot: |
| 80 | enabled: true |
| 81 | # Zips up the dataSnapshot graphson files older than 5 days |
| 82 | ageZip: 5 |
| 83 | # Deletes the dataSnapshot graphson files older than 30 days |
| 84 | ageDelete: 30 |
| 85 | |
| 86 | nodeSelector: {} |
| 87 | |
| 88 | affinity: {} |
| 89 | |
| 90 | # probe configuration parameters |
| 91 | liveness: |
| 92 | initialDelaySeconds: 60 |
| 93 | periodSeconds: 60 |
| 94 | # necessary to disable liveness probe when setting breakpoints |
| 95 | # in debugger so K8s doesn't restart unresponsive container |
| 96 | enabled: false |
| 97 | |
| 98 | readiness: |
| 99 | initialDelaySeconds: 60 |
| 100 | periodSeconds: 10 |
| 101 | |
| 102 | service: |
| 103 | type: ClusterIP |
| 104 | # REST API port for the graphadmin microservice |
| 105 | portName: aai-graphadmin-8449 |
| 106 | internalPort: 8449 |
| 107 | portName2: aai-graphadmin-5005 |
| 108 | internalPort2: 5005 |
| 109 | |
| 110 | ingress: |
| 111 | enabled: false |
| 112 | |
Harish Venkata Kajur | d497ce2 | 2019-01-08 22:09:21 -0500 | [diff] [blame] | 113 | persistence: |
| 114 | mountPath: /dockerdata-nfs |
| 115 | mountSubPath: aai/aai-graphadmin |
| 116 | |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 117 | resources: |
| 118 | small: |
| 119 | limits: |
| 120 | cpu: 2 |
| 121 | memory: 4Gi |
| 122 | requests: |
jimmy | a0a6ceb | 2018-12-06 15:05:48 -0500 | [diff] [blame^] | 123 | cpu: 0.5 |
| 124 | memory: 1536Mi |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 125 | large: |
| 126 | limits: |
| 127 | cpu: 4 |
| 128 | memory: 8Gi |
| 129 | requests: |
jimmy | a0a6ceb | 2018-12-06 15:05:48 -0500 | [diff] [blame^] | 130 | cpu: 1 |
| 131 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 132 | unlimited: {} |