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. |
sushant53 | a582451 | 2023-04-13 14:26:10 +0530 | [diff] [blame] | 5 | # Copyright (c) 2023 Deutsche Telekom AG. All rights reserved. |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 6 | # ============================================================================ |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # ============= LICENSE_END ================================================== |
| 19 | |
| 20 | ################################################################# |
| 21 | # Global Configuration Defaults. |
| 22 | ################################################################# |
| 23 | global: |
| 24 | nodePortPrefix: 302 |
| 25 | nodePortPrefixExt: 304 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 26 | centralizedLoggingEnabled: true |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
| 29 | # Filebeat Configuration Defaults. |
| 30 | ################################################################# |
| 31 | filebeatConfig: |
| 32 | logstashServiceName: log-ls |
| 33 | logstashPort: 5044 |
| 34 | |
| 35 | ################################################################# |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 36 | # Application Configuration Defaults. |
| 37 | ################################################################# |
| 38 | # Application Image |
sushant53 | f0f8339 | 2023-05-08 11:31:52 +0530 | [diff] [blame] | 39 | image: onap/org.onap.dcaegen2.services.components.kpi-ms:1.2.1 |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 40 | pullPolicy: Always |
| 41 | |
| 42 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 43 | # if path is set to null sidecar won't be deployed in spite of |
| 44 | # global.centralizedLoggingEnabled setting. |
| 45 | log: |
| 46 | path: /var/log/ONAP/dcaegen2/services/kpims |
| 47 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 48 | |
Vijay Venkatesh Kumar | 1718658 | 2022-05-18 16:06:18 -0400 | [diff] [blame] | 49 | # Optional Policy configuration properties |
| 50 | # if present, policy-sync side car will be deployed |
| 51 | #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1 |
| 52 | #policies: |
| 53 | # policyID: | |
| 54 | # '["com.Config_KPIMS_CONFIG_POLICY"]' |
Sumithra | fd67fee | 2021-08-25 16:18:35 +0000 | [diff] [blame] | 55 | |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 56 | # Dependencies |
| 57 | readinessCheck: |
| 58 | wait_for: |
Andreas Geissler | ee11910 | 2024-04-11 13:53:39 +0200 | [diff] [blame] | 59 | services: |
| 60 | - message-router |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 61 | |
| 62 | # Probe Configuration |
| 63 | readiness: |
| 64 | initialDelaySeconds: 10 |
| 65 | periodSeconds: 15 |
| 66 | timeoutSeconds: 1 |
| 67 | path: /healthcheck |
| 68 | scheme: HTTP |
| 69 | port: 8080 |
| 70 | |
| 71 | # Service Configuration |
| 72 | service: |
| 73 | type: ClusterIP |
| 74 | name: dcae-kpi-ms |
| 75 | ports: |
| 76 | - name: http |
| 77 | port: 8080 |
| 78 | port_protocol: http |
| 79 | |
AndrewLamb | bd6ff6b | 2023-05-04 15:56:49 +0100 | [diff] [blame] | 80 | serviceMesh: |
| 81 | authorizationPolicy: |
| 82 | authorizedPrincipals: |
| 83 | - serviceAccount: message-router-read |
| 84 | |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 85 | # Initial Application Configuration |
| 86 | applicationConfig: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 87 | trust_store_path: '/opt/app/kpims/etc/cert/trust.jks' |
| 88 | trust_store_pass_path: '/opt/app/kpims/etc/cert/trust.pass' |
| 89 | pollingInterval: 20 |
| 90 | pollingTimeout: 60 |
| 91 | cbsPollingInterval: 60 |
| 92 | dmaap.server: ["message-router"] |
| 93 | cg: kpi-cg |
| 94 | cid: kpi-cid |
| 95 | streams_subscribes: |
| 96 | performance_management_topic: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 97 | type: message-router |
| 98 | dmaap_info: |
Niranjana | b222467 | 2022-03-21 09:21:05 +0000 | [diff] [blame] | 99 | topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 100 | streams_publishes: |
| 101 | kpi_topic: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 102 | type: message-router |
| 103 | dmaap_info: |
Niranjana | b222467 | 2022-03-21 09:21:05 +0000 | [diff] [blame] | 104 | topic_url: http://message-router:3904/events/unauthenticated.DCAE_KPI_OUTPUT |
malar | 890a3dc | 2022-10-14 04:56:56 +0000 | [diff] [blame] | 105 | 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] | 106 | |
| 107 | applicationEnv: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 108 | CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml' |
| 109 | #Temporary Dummy CBS Port Value until internal SDK library is updated |
| 110 | CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000' |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 111 | STANDALONE: 'false' |
| 112 | |
| 113 | # Resource Limit Flavor -By Default Using Small |
| 114 | flavor: small |
| 115 | |
| 116 | # Segregation for Different Environment (Small and Large) |
| 117 | resources: |
| 118 | small: |
| 119 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 120 | cpu: "2" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 121 | memory: "500Mi" |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 122 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 123 | cpu: "1" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 124 | memory: "500Mi" |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 125 | large: |
| 126 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 127 | cpu: "4" |
| 128 | memory: "1Gi" |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 129 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 130 | cpu: "2" |
| 131 | memory: "1Gi" |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 132 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 133 | |
| 134 | #Pods Service Account |
| 135 | serviceAccount: |
| 136 | nameOverride: dcae-kpi-ms |
| 137 | roles: |
| 138 | - read |