[COMMON] Harmonize resource settings
[oom.git] / kubernetes / dcaegen2-services / components / dcae-datalake-admin-ui / values.yaml
1 # ============= LICENSE_START ================================================
2 # ============================================================================
3 # Copyright (C) 2021 Wipro Limited.
4 #  Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
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
25   centralizedLoggingEnabled: true
26
27 #################################################################
28 # Filebeat Configuration Defaults.
29 #################################################################
30 filebeatConfig:
31   logstashServiceName: log-ls
32   logstashPort: 5044
33
34 #################################################################
35 # Application Configuration Defaults.
36 #################################################################
37 # Application Image
38 image: onap/org.onap.dcaegen2.services.datalakeadminui:1.1.1
39
40 # Log directory where logging sidecar should look for log files
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" . }}'
46
47 # Dependencies
48 readinessCheck:
49   wait_for:
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
70 serviceMesh:
71   authorizationPolicy:
72     authorizedPrincipals: []
73
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:
84       cpu: "2"
85       memory: "0.5Gi"
86     requests:
87       cpu: "1"
88       memory: "0.5Gi"
89   large:
90     limits:
91       cpu: "4"
92       memory: "1Gi"
93     requests:
94       cpu: "2"
95       memory: "1Gi"
96   unlimited: {}
97
98 #Pods Service Account
99 serviceAccount:
100   nameOverride: dcae-datalake-admin-ui
101   roles:
102     - read