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