denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 1 | # ============= LICENSE_START ================================================ |
| 2 | # ============================================================================ |
Niranjana | c835912 | 2022-03-10 14:38:02 +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. |
decheng zhang | 449c101 | 2022-03-23 12:33:40 -0400 | [diff] [blame] | 5 | # Copyright (C) 2022 Huawei Canada Limited. |
sushant53 | b66c74e | 2023-04-19 18:02:22 +0530 | [diff] [blame] | 6 | # Copyright (c) 2023 Deutsche Telekom AG. All rights reserved. |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 7 | # ============================================================================ |
| 8 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | # you may not use this file except in compliance with the License. |
| 10 | # You may obtain a copy of the License at |
| 11 | # |
| 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | # |
| 14 | # Unless required by applicable law or agreed to in writing, software |
| 15 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | # See the License for the specific language governing permissions and |
| 18 | # limitations under the License. |
| 19 | # ============= LICENSE_END ================================================== |
| 20 | |
| 21 | ################################################################# |
| 22 | # Global Configuration Defaults. |
| 23 | ################################################################# |
| 24 | global: |
| 25 | nodePortPrefix: 302 |
| 26 | nodePortPrefixExt: 304 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 27 | centralizedLoggingEnabled: true |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 28 | |
| 29 | ################################################################# |
| 30 | # Filebeat Configuration Defaults. |
| 31 | ################################################################# |
| 32 | filebeatConfig: |
| 33 | logstashServiceName: log-ls |
| 34 | logstashPort: 5044 |
| 35 | |
| 36 | ################################################################# |
| 37 | # Secrets Configuration. |
| 38 | ################################################################# |
| 39 | secrets: |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 40 | - uid: &pgUserCredsSecretUid pg-user-creds |
| 41 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-sliceanalysisms-pg-user-creds' |
| 42 | type: basicAuth |
| 43 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sliceanalysisms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 44 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 45 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 46 | passwordPolicy: generate |
| 47 | |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 48 | ################################################################# |
| 49 | # Application Configuration Defaults. |
| 50 | ################################################################# |
| 51 | # Application Image |
Vijay Venkatesh Kumar | 9b90d41 | 2022-09-30 12:17:28 -0400 | [diff] [blame] | 52 | repository: nexus3.onap.org:10001 |
sushant53 | b66c74e | 2023-04-19 18:02:22 +0530 | [diff] [blame] | 53 | image: onap/org.onap.dcaegen2.services.components.slice-analysis-ms:1.2.1 |
qingshuting | ba86c11 | 2022-08-04 11:49:23 +0800 | [diff] [blame] | 54 | pullPolicy: IfNotPresent |
| 55 | |
| 56 | ################################################################# |
| 57 | # Policy Sync Container Image. |
| 58 | ################################################################# |
| 59 | # optional Policy configuration properties |
| 60 | # if present, policy-sync side car will be deployed |
| 61 | # policy sync is used for provide runtime configuration for slicems |
| 62 | # policy id is originally set to "onap.dcae.slicems.config" |
| 63 | |
Vijay Venkatesh Kumar | 9b90d41 | 2022-09-30 12:17:28 -0400 | [diff] [blame] | 64 | #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1 |
| 65 | #pullPolicy: IfNotPresent |
| 66 | #policies: |
qingshuting | ba86c11 | 2022-08-04 11:49:23 +0800 | [diff] [blame] | 67 | # duration: |
Vijay Venkatesh Kumar | 9b90d41 | 2022-09-30 12:17:28 -0400 | [diff] [blame] | 68 | # 10 |
qingshuting | ba86c11 | 2022-08-04 11:49:23 +0800 | [diff] [blame] | 69 | # policyID: | |
| 70 | # '["onap.dcae.slicems.config"]' |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 71 | |
| 72 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 73 | # if path is set to null sidecar won't be deployed in spite of |
| 74 | # global.centralizedLoggingEnabled setting. |
| 75 | log: |
| 76 | path: /var/log/ONAP/dcaegen2/services/sliceanalysisms |
| 77 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 78 | |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 79 | # Dependencies |
| 80 | readinessCheck: |
| 81 | wait_for: |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 82 | - &postgresName dcae-sliceanalysisms-postgres |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 83 | - message-router |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 84 | |
| 85 | # Probe Configuration |
| 86 | readiness: |
| 87 | initialDelaySeconds: 60 |
| 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-slice-analysis-ms |
| 98 | ports: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 99 | - name: http |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 100 | port: 8080 |
| 101 | port_protocol: http |
| 102 | |
AndrewLamb | bd6ff6b | 2023-05-04 15:56:49 +0100 | [diff] [blame] | 103 | serviceMesh: |
| 104 | authorizationPolicy: |
| 105 | authorizedPrincipals: |
| 106 | - serviceAccount: message-router-read |
| 107 | authorizedPrincipalsPostgres: |
| 108 | - serviceAccount: dcae-slice-analysis-ms-read |
| 109 | |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 110 | credentials: |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 111 | - name: PG_USERNAME |
| 112 | uid: *pgUserCredsSecretUid |
| 113 | key: login |
| 114 | - name: PG_PASSWORD |
| 115 | uid: *pgUserCredsSecretUid |
| 116 | key: password |
| 117 | |
| 118 | # Initial Application Configuration |
| 119 | applicationConfig: |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 120 | postgres.host: dcae-sliceanalysisms-pg-primary |
| 121 | postgres.port: 5432 |
| 122 | postgres.username: ${PG_USERNAME} |
| 123 | postgres.password: ${PG_PASSWORD} |
| 124 | trust_store_path: /opt/app/sliceanalysisms/etc/cert/trust.jks |
| 125 | trust_store_pass_path: /opt/app/sliceanalysisms/etc/cert/trust.pass |
| 126 | sliceanalysisms.pollingInterval: 20 |
| 127 | sliceanalysisms.pollingTimeout: 60 |
| 128 | cbsPollingInterval: 60 |
| 129 | sliceanalysisms.namespace: onap |
| 130 | sliceanalysisms.dmaap.server: ["message-router"] |
| 131 | sliceanalysisms.bufferTime: 60 |
| 132 | sliceanalysisms.cg: sliceanalysisms-cg |
| 133 | sliceanalysisms.cid: sliceanalysisms-cid |
| 134 | sliceanalysisms.configDb.service: http://config-db:8080 |
| 135 | sliceanalysisms.configDbEnabled: true |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 136 | sliceanalysisms.aai.url: http://aai-internal.onap.svc.cluster.local:80/aai/v21 |
| 137 | sliceanalysisms.cps.url: http://cps:8080 |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 138 | sliceanalysisms.samples: 3 |
| 139 | sliceanalysisms.minPercentageChange: 5 |
| 140 | sliceanalysisms.initialDelaySeconds: 120000 |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 141 | sliceanalysisms.rannfnssiDetailsTemplateId: get-rannfnssiid-details |
| 142 | sliceanalysisms.desUrl: http://dl-des:1681/datalake/v1/exposure/pm_data |
| 143 | sliceanalysisms.pmDataDurationInWeeks: 4 |
decheng zhang | 449c101 | 2022-03-23 12:33:40 -0400 | [diff] [blame] | 144 | sliceanalysisms.vesNotifPollingInterval: 15 |
| 145 | sliceanalysisms.vesNotifChangeIdentifier: PM_BW_UPDATE |
| 146 | sliceanalysisms.vesNotifChangeType: BandwidthChanged |
| 147 | sliceanalysisms.aaiNotif.targetAction: UPDATE |
| 148 | sliceanalysisms.aaiNotif.targetSource: UUI |
| 149 | sliceanalysisms.aaiNotif.targetEntity: service-instance |
Vijay Venkatesh Kumar | 9b90d41 | 2022-09-30 12:17:28 -0400 | [diff] [blame] | 150 | sliceanalysisms.ccvpnEvalInterval: 5 |
| 151 | sliceanalysisms.ccvpnEvalUpperThreshold: 0.8 |
| 152 | sliceanalysisms.ccvpnEvalLowerThreshold: 0.3 |
decheng zhang | 449c101 | 2022-03-23 12:33:40 -0400 | [diff] [blame] | 153 | sliceanalysisms.ccvpnEvalPrecision: 100.0 |
| 154 | sliceanalysisms.ccvpnEvalPeriodicCheckOn: true |
| 155 | sliceanalysisms.ccvpnEvalOnDemandCheckOn: true |
Vijay Venkatesh Kumar | 9b90d41 | 2022-09-30 12:17:28 -0400 | [diff] [blame] | 156 | sliceanalysisms.ccvpnEvalStrategy: FlexibleThresholdStrategy |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 157 | streams_publishes: |
| 158 | CL_topic: |
| 159 | type: message-router |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 160 | dmaap_info: |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 161 | topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 162 | streams_subscribes: |
| 163 | performance_management_topic: |
| 164 | type: message-router |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 165 | dmaap_info: |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 166 | topic_url: http://message-router:3904/events/unauthenticated.PERFORMANCE_MEASUREMENTS |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 167 | intelligent_slicing_topic: |
| 168 | type: message-router |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 169 | dmaap_info: |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 170 | topic_url: http://message-router:3904/events/unauthenticated.ML_RESPONSE_TOPIC |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 171 | dcae_cl_response_topic: |
| 172 | type: message-router |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 173 | dmaap_info: |
Niranjana | c835912 | 2022-03-10 14:38:02 +0000 | [diff] [blame] | 174 | topic_url: http://message-router:3904/events/DCAE_CL_RSP |
decheng zhang | 449c101 | 2022-03-23 12:33:40 -0400 | [diff] [blame] | 175 | ves_ccvpn_notification_topic: |
| 176 | type: message-router |
| 177 | dmaap_info: |
| 178 | topic_url: http://message-router:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT |
| 179 | aai_subscriber: |
| 180 | type: message-router |
| 181 | servers : ["message-router:3904"] |
| 182 | consumer_group: dcae_ccvpn_cl |
| 183 | consumer_instance: dcae_ccvpn_cl_aaievent |
| 184 | fetch_timeout: 15000 |
| 185 | fetch_limit: 100 |
| 186 | dmaap_info: |
| 187 | topic_url: http://message-router:3904/events/AAI-EVENT |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 188 | |
| 189 | applicationEnv: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 190 | CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml' |
| 191 | #Temporary Dummy CBS Port Value until internal SDK library is updated |
| 192 | CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000' |
denilson.l65 | ce758f8 | 2021-05-25 13:54:50 +0000 | [diff] [blame] | 193 | STANDALONE: 'false' |
| 194 | |
| 195 | # Resource Limit Flavor -By Default Using Small |
| 196 | flavor: small |
| 197 | # Segregation for Different Environment (Small and Large) |
| 198 | resources: |
| 199 | small: |
| 200 | limits: |
| 201 | cpu: 1 |
| 202 | memory: 1Gi |
| 203 | requests: |
| 204 | cpu: 1 |
| 205 | memory: 1Gi |
| 206 | large: |
| 207 | limits: |
| 208 | cpu: 2 |
| 209 | memory: 2Gi |
| 210 | requests: |
| 211 | cpu: 2 |
| 212 | memory: 2Gi |
| 213 | unlimited: {} |
| 214 | |
| 215 | ################################################################# |
| 216 | # Application configuration Overriding Defaults in the Postgres. |
| 217 | ################################################################# |
| 218 | postgres: |
| 219 | nameOverride: *postgresName |
| 220 | service: |
| 221 | name: *postgresName |
| 222 | name2: dcae-sliceanalysisms-pg-primary |
| 223 | name3: dcae-sliceanalysisms-pg-replica |
| 224 | container: |
| 225 | name: |
| 226 | primary: dcae-sliceanalysisms-pg-primary |
| 227 | replica: dcae-sliceanalysisms-pg-replica |
| 228 | persistence: |
| 229 | mountSubPath: sliceanalysisms/data |
| 230 | mountInitPath: sliceanalysisms |
| 231 | config: |
| 232 | pgUserName: sliceanalysisms |
| 233 | pgDatabase: sliceanalysisms |
| 234 | pgUserExternalSecret: *pgUserCredsSecretName |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 235 | |
| 236 | #Pods Service Account |
| 237 | serviceAccount: |
| 238 | nameOverride: dcae-slice-analysis-ms |
| 239 | roles: |
| 240 | - read |