blob: ad8ca9fb2eae62237785fe7f0468ee4376006327 [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 Lucasc9797322022-03-18 12:32:59 -04004# Copyright (c) 2022 J. F. Lucas. All rights reserved.
sumithra5ce265c2021-06-08 06:20:57 +00005# ============================================================================
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#################################################################
22global:
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010025 centralizedLoggingEnabled: true
sumithra5ce265c2021-06-08 06:20:57 +000026
27#################################################################
28# Filebeat Configuration Defaults.
29#################################################################
30filebeatConfig:
31 logstashServiceName: log-ls
32 logstashPort: 5044
33
34#################################################################
35# Secrets Configuration.
36#################################################################
37secrets:
38 - uid: &aafCredsUID aafcreds
39 type: basicAuth
40 login: '{{ .Values.aafCreds.identity }}'
41 password: '{{ .Values.aafCreds.password }}'
42 passwordPolicy: required
43
44#################################################################
45# InitContainer Images.
46#################################################################
47tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
sumithra5ce265c2021-06-08 06:20:57 +000048
49#################################################################
50# Application Configuration Defaults.
51#################################################################
52# Application Image
Niranjanab2224672022-03-21 09:21:05 +000053image: onap/org.onap.dcaegen2.services.components.kpi-ms:1.0.4
sumithra5ce265c2021-06-08 06:20:57 +000054pullPolicy: Always
55
56# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010057# if path is set to null sidecar won't be deployed in spite of
58# global.centralizedLoggingEnabled setting.
59log:
60 path: /var/log/ONAP/dcaegen2/services/kpims
61logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
sumithra5ce265c2021-06-08 06:20:57 +000062
63# Directory where TLS certs should be stored
64# if absent, no certs will be retrieved and stored
65certDirectory: /opt/app/kpims/etc/cert/
66
67# TLS role -- set to true if microservice acts as server
68# If true, an init container will retrieve a server cert
69# and key from AAF and mount them in certDirectory.
70tlsServer: true
71enable_tls: true
72
Sumithrafd67fee2021-08-25 16:18:35 +000073dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
74policies:
75 policyID: |
76 '["com.Config_KPIMS_CONFIG_POLICY"]'
77
sumithra5ce265c2021-06-08 06:20:57 +000078# Dependencies
79readinessCheck:
80 wait_for:
sumithra5ce265c2021-06-08 06:20:57 +000081 - aaf-cm
82
83# Probe Configuration
84readiness:
85 initialDelaySeconds: 10
86 periodSeconds: 15
87 timeoutSeconds: 1
88 path: /healthcheck
89 scheme: HTTP
90 port: 8080
91
92# Service Configuration
93service:
94 type: ClusterIP
95 name: dcae-kpi-ms
96 ports:
97 - name: http
98 port: 8080
99 port_protocol: http
100
101# AAF Credentials
102aafCreds:
103 identity: dcae@dcae.onap.org
104 password: demo123456!
105
106credentials:
107- name: AAF_IDENTITY
108 uid: *aafCredsUID
109 key: login
110- name: AAF_PASSWORD
111 uid: *aafCredsUID
112 key: password
113
114# Initial Application Configuration
115applicationConfig:
sumithra5ce265c2021-06-08 06:20:57 +0000116 trust_store_path: '/opt/app/kpims/etc/cert/trust.jks'
117 trust_store_pass_path: '/opt/app/kpims/etc/cert/trust.pass'
118 pollingInterval: 20
119 pollingTimeout: 60
120 cbsPollingInterval: 60
121 dmaap.server: ["message-router"]
122 cg: kpi-cg
123 cid: kpi-cid
124 streams_subscribes:
125 performance_management_topic:
sumithra5ce265c2021-06-08 06:20:57 +0000126 type: message-router
127 dmaap_info:
Niranjanab2224672022-03-21 09:21:05 +0000128 topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS
sumithra5ce265c2021-06-08 06:20:57 +0000129 streams_publishes:
130 kpi_topic:
sumithra5ce265c2021-06-08 06:20:57 +0000131 type: message-router
132 dmaap_info:
Niranjanab2224672022-03-21 09:21:05 +0000133 topic_url: http://message-router:3904/events/unauthenticated.DCAE_KPI_OUTPUT
sumithra5ce265c2021-06-08 06:20:57 +0000134 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":"UpstreamThr","operation":"SUM","operands":"GTP.InDataOctN3UPF"},{"measType":"DownstreamThr","operation":"SUM","operands":"GTP.OutDataOctN3UPF"}]}]}'
135
136applicationEnv:
137 STANDALONE: 'false'
138
139# Resource Limit Flavor -By Default Using Small
140flavor: small
141
142# Segregation for Different Environment (Small and Large)
143resources:
144 small:
145 limits:
146 cpu: 1
147 memory: 1Gi
148 requests:
149 cpu: 1
150 memory: 1Gi
151 large:
152 limits:
153 cpu: 2
154 memory: 2Gi
155 requests:
156 cpu: 2
157 memory: 2Gi
158 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200159
160#Pods Service Account
161serviceAccount:
162 nameOverride: dcae-kpi-ms
163 roles:
164 - read