blob: 802c830005b6be7652239f263edd7402dfbb6477 [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
24
25#################################################################
26# Filebeat Configuration Defaults.
27#################################################################
28filebeatConfig:
29 logstashServiceName: log-ls
30 logstashPort: 5044
31
32#################################################################
33# Secrets Configuration.
34#################################################################
35secrets:
36 - uid: &aafCredsUID aafcreds
37 type: basicAuth
38 login: '{{ .Values.aafCreds.identity }}'
39 password: '{{ .Values.aafCreds.password }}'
40 passwordPolicy: required
41
42#################################################################
43# InitContainer Images.
44#################################################################
45tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040046consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
sumithra5ce265c2021-06-08 06:20:57 +000047
48#################################################################
49# Application Configuration Defaults.
50#################################################################
51# Application Image
Vijay Venkatesh Kumar8eeeecd2021-09-13 17:02:05 -040052image: onap/org.onap.dcaegen2.services.components.kpi-ms:1.0.1
sumithra5ce265c2021-06-08 06:20:57 +000053pullPolicy: Always
54
55# Log directory where logging sidecar should look for log files
56# if absent, no sidecar will be deployed
57logDirectory: /var/log/ONAP/dcaegen2/services/kpims
58
59# Directory where TLS certs should be stored
60# if absent, no certs will be retrieved and stored
61certDirectory: /opt/app/kpims/etc/cert/
62
63# TLS role -- set to true if microservice acts as server
64# If true, an init container will retrieve a server cert
65# and key from AAF and mount them in certDirectory.
66tlsServer: true
67enable_tls: true
68
Sumithrafd67fee2021-08-25 16:18:35 +000069dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
70policies:
71 policyID: |
72 '["com.Config_KPIMS_CONFIG_POLICY"]'
73
sumithra5ce265c2021-06-08 06:20:57 +000074# Dependencies
75readinessCheck:
76 wait_for:
77 - dcae-config-binding-service
78 - aaf-cm
79
80# Probe Configuration
81readiness:
82 initialDelaySeconds: 10
83 periodSeconds: 15
84 timeoutSeconds: 1
85 path: /healthcheck
86 scheme: HTTP
87 port: 8080
88
89# Service Configuration
90service:
91 type: ClusterIP
92 name: dcae-kpi-ms
93 ports:
94 - name: http
95 port: 8080
96 port_protocol: http
97
98# AAF Credentials
99aafCreds:
100 identity: dcae@dcae.onap.org
101 password: demo123456!
102
103credentials:
104- name: AAF_IDENTITY
105 uid: *aafCredsUID
106 key: login
107- name: AAF_PASSWORD
108 uid: *aafCredsUID
109 key: password
110
111# Initial Application Configuration
112applicationConfig:
113 aafUsername: ${AAF_IDENTITY}
114 aafPassword: ${AAF_PASSWORD}
115 trust_store_path: '/opt/app/kpims/etc/cert/trust.jks'
116 trust_store_pass_path: '/opt/app/kpims/etc/cert/trust.pass'
117 pollingInterval: 20
118 pollingTimeout: 60
119 cbsPollingInterval: 60
120 dmaap.server: ["message-router"]
121 cg: kpi-cg
122 cid: kpi-cid
123 streams_subscribes:
124 performance_management_topic:
125 aafUsername: ${AAF_IDENTITY}
126 aafPassword: ${AAF_PASSWORD}
127 type: message-router
128 dmaap_info:
129 topic_url: https://message-router.onap.svc.cluster.local:3905/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
130 streams_publishes:
131 kpi_topic:
132 aafUsername: ${AAF_IDENTITY}
133 aafPassword: ${AAF_PASSWORD}
134 type: message-router
135 dmaap_info:
136 topic_url: https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.DCAE_KPI_OUTPUT
137 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"}]}]}'
138
139applicationEnv:
140 STANDALONE: 'false'
141
142# Resource Limit Flavor -By Default Using Small
143flavor: small
144
145# Segregation for Different Environment (Small and Large)
146resources:
147 small:
148 limits:
149 cpu: 1
150 memory: 1Gi
151 requests:
152 cpu: 1
153 memory: 1Gi
154 large:
155 limits:
156 cpu: 2
157 memory: 2Gi
158 requests:
159 cpu: 2
160 memory: 2Gi
161 unlimited: {}