ed6468ae6c0547e0d01ab8d62f5058c9f0af2a03
[oom.git] / kubernetes / dcaegen2-services / components / dcae-kpi-ms / values.yaml
1 # ============= LICENSE_START ================================================
2 # ============================================================================
3 # Copyright (C) 2021-2022 Wipro Limited.
4 # Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
5 # Copyright (c) 2023 Deutsche Telekom AG. 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 #################################################################
21 # Global Configuration Defaults.
22 #################################################################
23 global:
24   nodePortPrefix: 302
25   nodePortPrefixExt: 304
26   centralizedLoggingEnabled: true
27
28 #################################################################
29 # Filebeat Configuration Defaults.
30 #################################################################
31 filebeatConfig:
32   logstashServiceName: log-ls
33   logstashPort: 5044
34
35 #################################################################
36 # Application Configuration Defaults.
37 #################################################################
38 # Application Image
39 image: onap/org.onap.dcaegen2.services.components.kpi-ms:1.2.1
40 pullPolicy: Always
41
42 # Log directory where logging sidecar should look for log files
43 # if path is set to null sidecar won't be deployed in spite of
44 # global.centralizedLoggingEnabled setting.
45 log:
46   path: /var/log/ONAP/dcaegen2/services/kpims
47 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
48
49 # Optional Policy configuration properties
50 # if present, policy-sync side car will be deployed
51 #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
52 #policies:
53 #  policyID: |
54 #    '["com.Config_KPIMS_CONFIG_POLICY"]'
55
56 # Dependencies
57 readinessCheck:
58   wait_for:
59     - message-router
60
61 # Probe Configuration
62 readiness:
63   initialDelaySeconds: 10
64   periodSeconds: 15
65   timeoutSeconds: 1
66   path: /healthcheck
67   scheme: HTTP
68   port: 8080
69
70 # Service Configuration
71 service:
72   type: ClusterIP
73   name: dcae-kpi-ms
74   ports:
75     - name: http
76       port: 8080
77       port_protocol: http
78
79 serviceMesh:
80   authorizationPolicy:
81     authorizedPrincipals:
82       - serviceAccount: message-router-read
83
84 # Initial Application Configuration
85 applicationConfig:
86   trust_store_path: '/opt/app/kpims/etc/cert/trust.jks'
87   trust_store_pass_path: '/opt/app/kpims/etc/cert/trust.pass'
88   pollingInterval: 20
89   pollingTimeout: 60
90   cbsPollingInterval: 60
91   dmaap.server: ["message-router"]
92   cg: kpi-cg
93   cid: kpi-cid
94   streams_subscribes:
95     performance_management_topic:
96       type: message-router
97       dmaap_info:
98         topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
99   streams_publishes:
100     kpi_topic:
101       type: message-router
102       dmaap_info:
103         topic_url: http://message-router:3904/events/unauthenticated.DCAE_KPI_OUTPUT
104   kpi.policy: '{"domain":"measurementsForKpi","methodForKpi":[{"eventName":"perf3gpp_CORE-AMF_pmMeasResult","controlLoopSchemaType":"SLICE","policyScope":"resource=networkSlice;type=configuration","policyName":"configuration.dcae.microservice.kpi-computation","policyVersion":"v0.0.1","kpis":[{"measType":"AMFRegNbr","operation":"SUM","operands":"RM.RegisteredSubNbrMean"}]},{"eventName":"perf3gpp_CORE-UPF_pmMeasResult","controlLoopSchemaType":"SLICE","policyScope":"resource=networkSlice;type=configuration","policyName":"configuration.dcae.microservice.kpi-computation","policyVersion":"v0.0.1","kpis":[{"measType":"UpstreamDownstreamThr","operation":"SUM","operands":["GTP.InDataOctN3UPF","GTP.OutDataOctN3UPF"]}]}]'
105
106 applicationEnv:
107   CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
108   #Temporary Dummy CBS Port Value until internal SDK library is updated
109   CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
110   STANDALONE: 'false'
111
112 # Resource Limit Flavor -By Default Using Small
113 flavor: small
114
115 # Segregation for Different Environment (Small and Large)
116 resources:
117   small:
118     limits:
119       cpu: 2
120       memory: 0.5Gi
121     requests:
122       cpu: 1
123       memory: 0.5Gi
124   large:
125     limits:
126       cpu: 4
127       memory: 1Gi
128     requests:
129       cpu: 2
130       memory: 1Gi
131   unlimited: {}
132
133 #Pods Service Account
134 serviceAccount:
135   nameOverride: dcae-kpi-ms
136   roles:
137     - read