blob: 037dd0aec0edd6dc2844916123e6d7133b6a1989 [file] [log] [blame]
sumithra5ce265c2021-06-08 06:20:57 +00001# ============= LICENSE_START ================================================
2# ============================================================================
3# Copyright (C) 2021 Wipro Limited.
4# ============================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# ============= LICENSE_END ==================================================
17
18#################################################################
19# Global Configuration Defaults.
20#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010024 centralizedLoggingEnabled: true
sumithra5ce265c2021-06-08 06:20:57 +000025
26#################################################################
27# Filebeat Configuration Defaults.
28#################################################################
29filebeatConfig:
30 logstashServiceName: log-ls
31 logstashPort: 5044
32
33#################################################################
34# Secrets Configuration.
35#################################################################
36secrets:
37 - uid: &aafCredsUID aafcreds
38 type: basicAuth
39 login: '{{ .Values.aafCreds.identity }}'
40 password: '{{ .Values.aafCreds.password }}'
41 passwordPolicy: required
42
43#################################################################
44# InitContainer Images.
45#################################################################
46tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040047consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
sumithra5ce265c2021-06-08 06:20:57 +000048
49#################################################################
50# Application Configuration Defaults.
51#################################################################
52# Application Image
Vijay Venkatesh Kumar8eeeecd2021-09-13 17:02:05 -040053image: onap/org.onap.dcaegen2.services.components.kpi-ms:1.0.1
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:
81 - dcae-config-binding-service
82 - aaf-cm
83
84# Probe Configuration
85readiness:
86 initialDelaySeconds: 10
87 periodSeconds: 15
88 timeoutSeconds: 1
89 path: /healthcheck
90 scheme: HTTP
91 port: 8080
92
93# Service Configuration
94service:
95 type: ClusterIP
96 name: dcae-kpi-ms
97 ports:
98 - name: http
99 port: 8080
100 port_protocol: http
101
102# AAF Credentials
103aafCreds:
104 identity: dcae@dcae.onap.org
105 password: demo123456!
106
107credentials:
108- name: AAF_IDENTITY
109 uid: *aafCredsUID
110 key: login
111- name: AAF_PASSWORD
112 uid: *aafCredsUID
113 key: password
114
115# Initial Application Configuration
116applicationConfig:
117 aafUsername: ${AAF_IDENTITY}
118 aafPassword: ${AAF_PASSWORD}
119 trust_store_path: '/opt/app/kpims/etc/cert/trust.jks'
120 trust_store_pass_path: '/opt/app/kpims/etc/cert/trust.pass'
121 pollingInterval: 20
122 pollingTimeout: 60
123 cbsPollingInterval: 60
124 dmaap.server: ["message-router"]
125 cg: kpi-cg
126 cid: kpi-cid
127 streams_subscribes:
128 performance_management_topic:
129 aafUsername: ${AAF_IDENTITY}
130 aafPassword: ${AAF_PASSWORD}
131 type: message-router
132 dmaap_info:
133 topic_url: https://message-router.onap.svc.cluster.local:3905/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
134 streams_publishes:
135 kpi_topic:
136 aafUsername: ${AAF_IDENTITY}
137 aafPassword: ${AAF_PASSWORD}
138 type: message-router
139 dmaap_info:
140 topic_url: https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.DCAE_KPI_OUTPUT
141 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"}]}]}'
142
143applicationEnv:
144 STANDALONE: 'false'
145
146# Resource Limit Flavor -By Default Using Small
147flavor: small
148
149# Segregation for Different Environment (Small and Large)
150resources:
151 small:
152 limits:
153 cpu: 1
154 memory: 1Gi
155 requests:
156 cpu: 1
157 memory: 1Gi
158 large:
159 limits:
160 cpu: 2
161 memory: 2Gi
162 requests:
163 cpu: 2
164 memory: 2Gi
165 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200166
167#Pods Service Account
168serviceAccount:
169 nameOverride: dcae-kpi-ms
170 roles:
171 - read