Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 1 | # ============= LICENSE_START ================================================ |
| 2 | # ============================================================================ |
| 3 | # Copyright (C) 2021 Wipro Limited. |
Jack Lucas | 64da4e7 | 2023-03-03 14:46:05 -0500 | [diff] [blame] | 4 | # Copyright (c) 2022-2023 J. F. Lucas. All rights reserved. |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 5 | # ============================================================================ |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | # you may not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # ============= LICENSE_END ================================================== |
| 18 | |
| 19 | ################################################################# |
| 20 | # Global Configuration Defaults. |
| 21 | ################################################################# |
| 22 | global: |
| 23 | nodePortPrefix: 302 |
| 24 | nodePortPrefixExt: 304 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 25 | centralizedLoggingEnabled: true |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 26 | |
| 27 | ################################################################# |
| 28 | # Filebeat Configuration Defaults. |
| 29 | ################################################################# |
| 30 | filebeatConfig: |
| 31 | logstashServiceName: log-ls |
| 32 | logstashPort: 5044 |
| 33 | |
| 34 | ################################################################# |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 35 | # Application Configuration Defaults. |
| 36 | ################################################################# |
| 37 | # Application Image |
Vijay Venkatesh Kumar | 8eeeecd | 2021-09-13 17:02:05 -0400 | [diff] [blame] | 38 | image: onap/org.onap.dcaegen2.services.datalakeadminui:1.1.1 |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 39 | |
| 40 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 41 | # if path is set to null sidecar won't be deployed in spite of |
| 42 | # global.centralizedLoggingEnabled setting. |
| 43 | log: |
| 44 | path: /var/log/ONAP/dcaegen2/services/datalake-admin-ui |
| 45 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 46 | |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 47 | # Dependencies |
| 48 | readinessCheck: |
| 49 | wait_for: |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 50 | - dcae-datalake-feeder |
| 51 | |
| 52 | # Probe Configuration |
| 53 | readiness: |
| 54 | initialDelaySeconds: 30 |
| 55 | periodSeconds: 10 |
| 56 | timeoutSeconds: 1 |
| 57 | path: / |
| 58 | scheme: HTTP |
| 59 | port: 8088 |
| 60 | |
| 61 | # Service Configuration |
| 62 | service: |
| 63 | type: ClusterIP |
| 64 | name: dl-admin-ui |
| 65 | ports: |
| 66 | - name: http |
| 67 | port: 8088 |
| 68 | port_protocol: http |
| 69 | |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 70 | # Initial Application Configuration |
| 71 | applicationConfig: |
| 72 | FEEDER_ADDR: dl-feeder |
| 73 | |
| 74 | # Resource Limit Flavor -By Default Using Small |
| 75 | flavor: small |
| 76 | # Segregation for Different Environment (Small and Large) |
| 77 | resources: |
| 78 | small: |
| 79 | limits: |
| 80 | cpu: 1 |
| 81 | memory: 1Gi |
| 82 | requests: |
| 83 | cpu: 1 |
| 84 | memory: 1Gi |
| 85 | large: |
| 86 | limits: |
| 87 | cpu: 2 |
| 88 | memory: 2Gi |
| 89 | requests: |
| 90 | cpu: 2 |
| 91 | memory: 2Gi |
| 92 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 93 | |
| 94 | #Pods Service Account |
| 95 | serviceAccount: |
| 96 | nameOverride: dcae-datalake-admin-ui |
| 97 | roles: |
| 98 | - read |