sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 1 | # ============= LICENSE_START ================================================ |
| 2 | # ============================================================================ |
Niranjana | b222467 | 2022-03-21 09:21:05 +0000 | [diff] [blame] | 3 | # Copyright (C) 2021-2022 Wipro Limited. |
Jack Lucas | 64da4e7 | 2023-03-03 14:46:05 -0500 | [diff] [blame^] | 4 | # Copyright (c) 2022-2023 J. F. Lucas. All rights reserved. |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 5 | # ============================================================================ |
| 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 | ################################################################# |
| 22 | global: |
| 23 | nodePortPrefix: 302 |
| 24 | nodePortPrefixExt: 304 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 25 | centralizedLoggingEnabled: true |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 26 | |
| 27 | ################################################################# |
| 28 | # Filebeat Configuration Defaults. |
| 29 | ################################################################# |
| 30 | filebeatConfig: |
| 31 | logstashServiceName: log-ls |
| 32 | logstashPort: 5044 |
| 33 | |
| 34 | ################################################################# |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 35 | # Application Configuration Defaults. |
| 36 | ################################################################# |
| 37 | # Application Image |
malar | 40b1667 | 2022-11-29 07:04:54 +0000 | [diff] [blame] | 38 | image: onap/org.onap.dcaegen2.services.components.kpi-ms:1.0.11 |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 39 | pullPolicy: Always |
| 40 | |
| 41 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 42 | # if path is set to null sidecar won't be deployed in spite of |
| 43 | # global.centralizedLoggingEnabled setting. |
| 44 | log: |
| 45 | path: /var/log/ONAP/dcaegen2/services/kpims |
| 46 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 47 | |
Vijay Venkatesh Kumar | 1718658 | 2022-05-18 16:06:18 -0400 | [diff] [blame] | 48 | # Optional Policy configuration properties |
| 49 | # if present, policy-sync side car will be deployed |
| 50 | #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1 |
| 51 | #policies: |
| 52 | # policyID: | |
| 53 | # '["com.Config_KPIMS_CONFIG_POLICY"]' |
Sumithra | fd67fee | 2021-08-25 16:18:35 +0000 | [diff] [blame] | 54 | |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 55 | # Dependencies |
| 56 | readinessCheck: |
| 57 | wait_for: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 58 | - message-router |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 59 | |
| 60 | # Probe Configuration |
| 61 | readiness: |
| 62 | initialDelaySeconds: 10 |
| 63 | periodSeconds: 15 |
| 64 | timeoutSeconds: 1 |
| 65 | path: /healthcheck |
| 66 | scheme: HTTP |
| 67 | port: 8080 |
| 68 | |
| 69 | # Service Configuration |
| 70 | service: |
| 71 | type: ClusterIP |
| 72 | name: dcae-kpi-ms |
| 73 | ports: |
| 74 | - name: http |
| 75 | port: 8080 |
| 76 | port_protocol: http |
| 77 | |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 78 | # Initial Application Configuration |
| 79 | applicationConfig: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 80 | trust_store_path: '/opt/app/kpims/etc/cert/trust.jks' |
| 81 | trust_store_pass_path: '/opt/app/kpims/etc/cert/trust.pass' |
| 82 | pollingInterval: 20 |
| 83 | pollingTimeout: 60 |
| 84 | cbsPollingInterval: 60 |
| 85 | dmaap.server: ["message-router"] |
| 86 | cg: kpi-cg |
| 87 | cid: kpi-cid |
| 88 | streams_subscribes: |
| 89 | performance_management_topic: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 90 | type: message-router |
| 91 | dmaap_info: |
Niranjana | b222467 | 2022-03-21 09:21:05 +0000 | [diff] [blame] | 92 | topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 93 | streams_publishes: |
| 94 | kpi_topic: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 95 | type: message-router |
| 96 | dmaap_info: |
Niranjana | b222467 | 2022-03-21 09:21:05 +0000 | [diff] [blame] | 97 | topic_url: http://message-router:3904/events/unauthenticated.DCAE_KPI_OUTPUT |
malar | 890a3dc | 2022-10-14 04:56:56 +0000 | [diff] [blame] | 98 | 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"]}]}]' |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 99 | |
| 100 | applicationEnv: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 101 | CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml' |
| 102 | #Temporary Dummy CBS Port Value until internal SDK library is updated |
| 103 | CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000' |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 104 | STANDALONE: 'false' |
| 105 | |
| 106 | # Resource Limit Flavor -By Default Using Small |
| 107 | flavor: small |
| 108 | |
| 109 | # Segregation for Different Environment (Small and Large) |
| 110 | resources: |
| 111 | small: |
| 112 | limits: |
| 113 | cpu: 1 |
| 114 | memory: 1Gi |
| 115 | requests: |
| 116 | cpu: 1 |
| 117 | memory: 1Gi |
| 118 | large: |
| 119 | limits: |
| 120 | cpu: 2 |
| 121 | memory: 2Gi |
| 122 | requests: |
| 123 | cpu: 2 |
| 124 | memory: 2Gi |
| 125 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 126 | |
| 127 | #Pods Service Account |
| 128 | serviceAccount: |
| 129 | nameOverride: dcae-kpi-ms |
| 130 | roles: |
| 131 | - read |