blob: 0bb9bdce629713df70f34aa4437ceef225f0e44c [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
69# Dependencies
70readinessCheck:
71 wait_for:
72 - dcae-config-binding-service
73 - aaf-cm
74
75# Probe Configuration
76readiness:
77 initialDelaySeconds: 10
78 periodSeconds: 15
79 timeoutSeconds: 1
80 path: /healthcheck
81 scheme: HTTP
82 port: 8080
83
84# Service Configuration
85service:
86 type: ClusterIP
87 name: dcae-kpi-ms
88 ports:
89 - name: http
90 port: 8080
91 port_protocol: http
92
93# AAF Credentials
94aafCreds:
95 identity: dcae@dcae.onap.org
96 password: demo123456!
97
98credentials:
99- name: AAF_IDENTITY
100 uid: *aafCredsUID
101 key: login
102- name: AAF_PASSWORD
103 uid: *aafCredsUID
104 key: password
105
106# Initial Application Configuration
107applicationConfig:
108 aafUsername: ${AAF_IDENTITY}
109 aafPassword: ${AAF_PASSWORD}
110 trust_store_path: '/opt/app/kpims/etc/cert/trust.jks'
111 trust_store_pass_path: '/opt/app/kpims/etc/cert/trust.pass'
112 pollingInterval: 20
113 pollingTimeout: 60
114 cbsPollingInterval: 60
115 dmaap.server: ["message-router"]
116 cg: kpi-cg
117 cid: kpi-cid
118 streams_subscribes:
119 performance_management_topic:
120 aafUsername: ${AAF_IDENTITY}
121 aafPassword: ${AAF_PASSWORD}
122 type: message-router
123 dmaap_info:
124 topic_url: https://message-router.onap.svc.cluster.local:3905/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
125 streams_publishes:
126 kpi_topic:
127 aafUsername: ${AAF_IDENTITY}
128 aafPassword: ${AAF_PASSWORD}
129 type: message-router
130 dmaap_info:
131 topic_url: https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.DCAE_KPI_OUTPUT
132 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"}]}]}'
133
134applicationEnv:
135 STANDALONE: 'false'
136
137# Resource Limit Flavor -By Default Using Small
138flavor: small
139
140# Segregation for Different Environment (Small and Large)
141resources:
142 small:
143 limits:
144 cpu: 1
145 memory: 1Gi
146 requests:
147 cpu: 1
148 memory: 1Gi
149 large:
150 limits:
151 cpu: 2
152 memory: 2Gi
153 requests:
154 cpu: 2
155 memory: 2Gi
156 unlimited: {}