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 | c979732 | 2022-03-18 12:32:59 -0400 | [diff] [blame] | 4 | # Copyright (c) 2022 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 | ################################################################# |
| 35 | # Secrets Configuration. |
| 36 | ################################################################# |
| 37 | secrets: |
| 38 | - uid: &aafCredsUID aafcreds |
| 39 | type: basicAuth |
| 40 | login: '{{ .Values.aafCreds.identity }}' |
| 41 | password: '{{ .Values.aafCreds.password }}' |
| 42 | passwordPolicy: required |
| 43 | |
| 44 | ################################################################# |
| 45 | # InitContainer Images. |
| 46 | ################################################################# |
| 47 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 48 | |
| 49 | ################################################################# |
| 50 | # Application Configuration Defaults. |
| 51 | ################################################################# |
| 52 | # Application Image |
Niranjana | b222467 | 2022-03-21 09:21:05 +0000 | [diff] [blame] | 53 | image: onap/org.onap.dcaegen2.services.components.kpi-ms:1.0.4 |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 54 | pullPolicy: Always |
| 55 | |
| 56 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 57 | # if path is set to null sidecar won't be deployed in spite of |
| 58 | # global.centralizedLoggingEnabled setting. |
| 59 | log: |
| 60 | path: /var/log/ONAP/dcaegen2/services/kpims |
| 61 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 62 | |
| 63 | # Directory where TLS certs should be stored |
| 64 | # if absent, no certs will be retrieved and stored |
| 65 | certDirectory: /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. |
| 70 | tlsServer: true |
| 71 | enable_tls: true |
| 72 | |
Vijay Venkatesh Kumar | 1718658 | 2022-05-18 16:06:18 -0400 | [diff] [blame] | 73 | # Optional Policy configuration properties |
| 74 | # if present, policy-sync side car will be deployed |
| 75 | #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1 |
| 76 | #policies: |
| 77 | # policyID: | |
| 78 | # '["com.Config_KPIMS_CONFIG_POLICY"]' |
Sumithra | fd67fee | 2021-08-25 16:18:35 +0000 | [diff] [blame] | 79 | |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 80 | # Dependencies |
| 81 | readinessCheck: |
| 82 | wait_for: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 83 | - aaf-cm |
| 84 | |
| 85 | # Probe Configuration |
| 86 | readiness: |
| 87 | initialDelaySeconds: 10 |
| 88 | periodSeconds: 15 |
| 89 | timeoutSeconds: 1 |
| 90 | path: /healthcheck |
| 91 | scheme: HTTP |
| 92 | port: 8080 |
| 93 | |
| 94 | # Service Configuration |
| 95 | service: |
| 96 | type: ClusterIP |
| 97 | name: dcae-kpi-ms |
| 98 | ports: |
| 99 | - name: http |
| 100 | port: 8080 |
| 101 | port_protocol: http |
| 102 | |
| 103 | # AAF Credentials |
| 104 | aafCreds: |
| 105 | identity: dcae@dcae.onap.org |
| 106 | password: demo123456! |
| 107 | |
| 108 | credentials: |
| 109 | - name: AAF_IDENTITY |
| 110 | uid: *aafCredsUID |
| 111 | key: login |
| 112 | - name: AAF_PASSWORD |
| 113 | uid: *aafCredsUID |
| 114 | key: password |
| 115 | |
| 116 | # Initial Application Configuration |
| 117 | applicationConfig: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 118 | trust_store_path: '/opt/app/kpims/etc/cert/trust.jks' |
| 119 | trust_store_pass_path: '/opt/app/kpims/etc/cert/trust.pass' |
| 120 | pollingInterval: 20 |
| 121 | pollingTimeout: 60 |
| 122 | cbsPollingInterval: 60 |
| 123 | dmaap.server: ["message-router"] |
| 124 | cg: kpi-cg |
| 125 | cid: kpi-cid |
| 126 | streams_subscribes: |
| 127 | performance_management_topic: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 128 | type: message-router |
| 129 | dmaap_info: |
Niranjana | b222467 | 2022-03-21 09:21:05 +0000 | [diff] [blame] | 130 | topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 131 | streams_publishes: |
| 132 | kpi_topic: |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 133 | type: message-router |
| 134 | dmaap_info: |
Niranjana | b222467 | 2022-03-21 09:21:05 +0000 | [diff] [blame] | 135 | topic_url: http://message-router:3904/events/unauthenticated.DCAE_KPI_OUTPUT |
sumithra | 5ce265c | 2021-06-08 06:20:57 +0000 | [diff] [blame] | 136 | 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"}]}]}' |
| 137 | |
| 138 | applicationEnv: |
| 139 | STANDALONE: 'false' |
| 140 | |
| 141 | # Resource Limit Flavor -By Default Using Small |
| 142 | flavor: small |
| 143 | |
| 144 | # Segregation for Different Environment (Small and Large) |
| 145 | resources: |
| 146 | small: |
| 147 | limits: |
| 148 | cpu: 1 |
| 149 | memory: 1Gi |
| 150 | requests: |
| 151 | cpu: 1 |
| 152 | memory: 1Gi |
| 153 | large: |
| 154 | limits: |
| 155 | cpu: 2 |
| 156 | memory: 2Gi |
| 157 | requests: |
| 158 | cpu: 2 |
| 159 | memory: 2Gi |
| 160 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 161 | |
| 162 | #Pods Service Account |
| 163 | serviceAccount: |
| 164 | nameOverride: dcae-kpi-ms |
| 165 | roles: |
| 166 | - read |