blob: ec05caaab34906b75f35a2063e01b57ddd5b171a [file] [log] [blame]
sumithra5ce265c2021-06-08 06:20:57 +00001# ============= LICENSE_START ================================================
2# ============================================================================
Niranjanab2224672022-03-21 09:21:05 +00003# Copyright (C) 2021-2022 Wipro Limited.
Jack Lucas64da4e72023-03-03 14:46:05 -05004# Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
sushant53a5824512023-04-13 14:26:10 +05305# Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
sumithra5ce265c2021-06-08 06:20:57 +00006# ============================================================================
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#################################################################
23global:
24 nodePortPrefix: 302
25 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010026 centralizedLoggingEnabled: true
sumithra5ce265c2021-06-08 06:20:57 +000027
28#################################################################
29# Filebeat Configuration Defaults.
30#################################################################
31filebeatConfig:
32 logstashServiceName: log-ls
33 logstashPort: 5044
34
35#################################################################
sumithra5ce265c2021-06-08 06:20:57 +000036# Application Configuration Defaults.
37#################################################################
38# Application Image
sushant53f0f83392023-05-08 11:31:52 +053039image: onap/org.onap.dcaegen2.services.components.kpi-ms:1.2.1
sumithra5ce265c2021-06-08 06:20:57 +000040pullPolicy: Always
41
42# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010043# if path is set to null sidecar won't be deployed in spite of
44# global.centralizedLoggingEnabled setting.
45log:
46 path: /var/log/ONAP/dcaegen2/services/kpims
47logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
sumithra5ce265c2021-06-08 06:20:57 +000048
Vijay Venkatesh Kumar17186582022-05-18 16:06:18 -040049# 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"]'
Sumithrafd67fee2021-08-25 16:18:35 +000055
sumithra5ce265c2021-06-08 06:20:57 +000056# Dependencies
57readinessCheck:
58 wait_for:
rope2525a7fbee2022-07-25 20:00:36 +010059 - message-router
sumithra5ce265c2021-06-08 06:20:57 +000060
61# Probe Configuration
62readiness:
63 initialDelaySeconds: 10
64 periodSeconds: 15
65 timeoutSeconds: 1
66 path: /healthcheck
67 scheme: HTTP
68 port: 8080
69
70# Service Configuration
71service:
72 type: ClusterIP
73 name: dcae-kpi-ms
74 ports:
75 - name: http
76 port: 8080
77 port_protocol: http
78
sumithra5ce265c2021-06-08 06:20:57 +000079# Initial Application Configuration
80applicationConfig:
sumithra5ce265c2021-06-08 06:20:57 +000081 trust_store_path: '/opt/app/kpims/etc/cert/trust.jks'
82 trust_store_pass_path: '/opt/app/kpims/etc/cert/trust.pass'
83 pollingInterval: 20
84 pollingTimeout: 60
85 cbsPollingInterval: 60
86 dmaap.server: ["message-router"]
87 cg: kpi-cg
88 cid: kpi-cid
89 streams_subscribes:
90 performance_management_topic:
sumithra5ce265c2021-06-08 06:20:57 +000091 type: message-router
92 dmaap_info:
Niranjanab2224672022-03-21 09:21:05 +000093 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
sumithra5ce265c2021-06-08 06:20:57 +000094 streams_publishes:
95 kpi_topic:
sumithra5ce265c2021-06-08 06:20:57 +000096 type: message-router
97 dmaap_info:
Niranjanab2224672022-03-21 09:21:05 +000098 topic_url: http://message-router:3904/events/unauthenticated.DCAE_KPI_OUTPUT
malar890a3dc2022-10-14 04:56:56 +000099 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"]}]}]'
sumithra5ce265c2021-06-08 06:20:57 +0000100
101applicationEnv:
rope2525a7fbee2022-07-25 20:00:36 +0100102 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
103 #Temporary Dummy CBS Port Value until internal SDK library is updated
104 CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000'
sumithra5ce265c2021-06-08 06:20:57 +0000105 STANDALONE: 'false'
106
107# Resource Limit Flavor -By Default Using Small
108flavor: small
109
110# Segregation for Different Environment (Small and Large)
111resources:
112 small:
113 limits:
114 cpu: 1
115 memory: 1Gi
116 requests:
117 cpu: 1
118 memory: 1Gi
119 large:
120 limits:
121 cpu: 2
122 memory: 2Gi
123 requests:
124 cpu: 2
125 memory: 2Gi
126 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200127
128#Pods Service Account
129serviceAccount:
130 nameOverride: dcae-kpi-ms
131 roles:
132 - read