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 | |
AndrewLamb | bd6ff6b | 2023-05-04 15:56:49 +0100 | [diff] [blame] | 70 | serviceMesh: |
| 71 | authorizationPolicy: |
| 72 | authorizedPrincipals: [] |
| 73 | |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 74 | # Initial Application Configuration |
| 75 | applicationConfig: |
| 76 | FEEDER_ADDR: dl-feeder |
| 77 | |
| 78 | # Resource Limit Flavor -By Default Using Small |
| 79 | flavor: small |
| 80 | # Segregation for Different Environment (Small and Large) |
| 81 | resources: |
| 82 | small: |
| 83 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 84 | cpu: "2" |
| 85 | memory: "0.5Gi" |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 86 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 87 | cpu: "1" |
| 88 | memory: "0.5Gi" |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 89 | large: |
| 90 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 91 | cpu: "4" |
| 92 | memory: "1Gi" |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 93 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 94 | cpu: "2" |
| 95 | memory: "1Gi" |
Niranjana | 01463a9 | 2021-07-30 14:40:44 +0000 | [diff] [blame] | 96 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 97 | |
| 98 | #Pods Service Account |
| 99 | serviceAccount: |
| 100 | nameOverride: dcae-datalake-admin-ui |
| 101 | roles: |
| 102 | - read |