| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 1 | ####################################################################################### |
| 2 | # Copyright ETSI Contributors and Others. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 13 | # implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | ####################################################################################### |
| 17 | # Default values for osm. |
| 18 | # This is a YAML-formatted file. |
| 19 | # Declare variables to be passed into your templates. |
| 20 | |
| 21 | global: |
| 22 | replicaCount: 1 |
| garciadeblas | 29484f1 | 2023-05-25 10:36:17 +0200 | [diff] [blame] | 23 | logLevel: INFO |
| garciadeblas | 18582e9 | 2024-05-21 12:13:50 +0200 | [diff] [blame] | 24 | # hostname to be used for the ingress objects |
| 25 | hostname: ~ |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 26 | image: |
| 27 | repositoryBase: docker.io/opensourcemano |
| 28 | pullPolicy: IfNotPresent |
| 29 | # Overrides the image tag whose default is the chart appVersion. |
| garciadeblas | 6e45978 | 2023-06-01 00:04:35 +0200 | [diff] [blame] | 30 | tag: "testing-daily" |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 31 | |
| 32 | imagePullSecrets: [] |
| 33 | nameOverride: "" |
| 34 | fullnameOverride: "" |
| garciadeblas | b89a41f | 2025-09-09 13:07:50 +0200 | [diff] [blame] | 35 | # ingressClassName: "nginx" |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 36 | |
| 37 | serviceAccount: |
| 38 | # Specifies whether a service account should be created |
| 39 | create: true |
| 40 | # Annotations to add to the service account |
| 41 | annotations: {} |
| 42 | # The name of the service account to use. |
| 43 | # If not set and create is true, a name is generated using the fullname template |
| 44 | name: "" |
| 45 | |
| Luis | c5176c6 | 2024-03-21 19:39:22 +0000 | [diff] [blame] | 46 | db: |
| 47 | mysql: |
| 48 | mysqlSecretName: mysql |
| 49 | mysqlSecretKey: mysql-root-password |
| 50 | mysqlService: mysql |
| 51 | mongo: |
| 52 | mongoService: mongodb-k8s |
| 53 | auth: |
| 54 | enabled: false |
| 55 | # secretName: mongodb-k8s |
| 56 | # secretKeyRootPassword: mongodb-root-password |
| 57 | |
| garciadeblas | 8d8cd99 | 2024-05-21 16:04:14 +0200 | [diff] [blame] | 58 | gitops: |
| 59 | enabled: true |
| 60 | auxcluster: |
| 61 | secretName: auxcluster-secret |
| 62 | secretKey: kubeconfig |
| 63 | mgmtcluster: |
| 64 | secretName: mgmtcluster-secret |
| 65 | secretKey: kubeconfig |
| garciadeblas | 1f6e09a | 2024-09-10 18:50:29 +0200 | [diff] [blame] | 66 | gitUser: osm-developer |
| 67 | # gitBaseUrl: http://git.<IP_ADDRESS>.nip.io |
| 68 | # pubkey: AGEKEY |
| garciadeblas | cf603f5 | 2025-06-04 11:57:28 +0200 | [diff] [blame] | 69 | # fleetRepoUrl: http://git.<IP_ADDRESS>.nip.io |
| 70 | # swcatalogsRepoUrl: http://git.<IP_ADDRESS>.nip.io |
| garciadeblas | 8d8cd99 | 2024-05-21 16:04:14 +0200 | [diff] [blame] | 71 | |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 72 | podAnnotations: {} |
| 73 | |
| 74 | podSecurityContext: |
| 75 | # runAsUser: 1000 |
| 76 | # runAsGroup: 1000 |
| 77 | fsGroup: 1000 |
| 78 | |
| 79 | securityContext: |
| 80 | runAsUser: 1000 |
| 81 | |
| 82 | nodeSelector: {} |
| 83 | |
| 84 | tolerations: [] |
| 85 | |
| 86 | affinity: {} |
| 87 | |
| 88 | behindHttpProxy: false |
| 89 | httpProxy: {} |
| 90 | # HTTP_PROXY: <HTTP_PROXY> |
| 91 | # HTTPS_PROXY: <HTTPS_PROXY> |
| 92 | # NO_PROXY: <NO_PROXY> |
| 93 | |
| garciadeblas | b6c30b4 | 2023-05-26 11:10:11 +0200 | [diff] [blame] | 94 | airflow: |
| 95 | enabled: true |
| garciadeblas | d61b01e | 2025-04-30 15:01:43 +0200 | [diff] [blame] | 96 | fullnameOverride: "airflow" |
| garciadeblas | cfb60b1 | 2025-04-23 17:55:02 +0200 | [diff] [blame] | 97 | config: |
| 98 | core: |
| 99 | parallelism: 4 |
| 100 | dag_concurrency: 2 |
| 101 | max_active_tasks_per_dag: 2 |
| 102 | worker_concurrency: 2 |
| 103 | dags_folder: "/home/airflow/.local/lib/python3.10/site-packages/osm_ngsa" |
| 104 | defaultAirflowRepository: opensourcemano/airflow |
| 105 | defaultAirflowTag: "testing-daily" |
| 106 | executor: LocalExecutor |
| 107 | extraEnv: | |
| 108 | - name: AIRFLOW__API__AUTH_BACKENDS |
| 109 | value: 'airflow.api.auth.backend.basic_auth' |
| 110 | - name: AIRFLOW__LOGGING__LOGGING_LEVEL |
| 111 | value: 'INFO' |
| 112 | - name: OSMMON_DATABASE_COMMONKEY |
| 113 | valueFrom: |
| 114 | secretKeyRef: |
| 115 | name: osm-secret |
| 116 | key: OSM_DATABASE_COMMONKEY |
| 117 | # extraEnvFrom: | |
| 118 | # - secretRef: |
| 119 | # name: ngsa-secret |
| 120 | ingress: |
| 121 | web: |
| 122 | enabled: True |
| 123 | # hosts: |
| 124 | # - name: "localhost" |
| 125 | ingressClassName: nginx |
| garciadeblas | a50a7a9 | 2025-10-24 12:26:49 +0200 | [diff] [blame] | 126 | postgresql: |
| 127 | image: |
| 128 | repository: bitnamilegacy/postgresql |
| 129 | tag: 11 |
| garciadeblas | cfb60b1 | 2025-04-23 17:55:02 +0200 | [diff] [blame] | 130 | # scheduler: |
| 131 | # resources: |
| 132 | # requests: |
| 133 | # memory: 512Mi |
| 134 | # cpu: 250m |
| 135 | # limits: |
| 136 | # memory: 1Gi |
| 137 | # cpu: 500m |
| 138 | webserverSecretKeySecretName: airflow-webserver-secret |
| 139 | webserver: |
| 140 | resources: |
| 141 | requests: |
| 142 | memory: 256Mi |
| 143 | cpu: 250m |
| 144 | limits: |
| 145 | memory: 1Gi |
| 146 | cpu: 500m |
| 147 | service: |
| 148 | type: ClusterIP |
| 149 | ports: |
| 150 | - name: airflow-ui |
| 151 | port: "{{ .Values.ports.airflowUI }}" |
| 152 | targetPort: "{{ .Values.ports.airflowUI }}" |
| 153 | workers: |
| 154 | persistence: |
| 155 | size: 2Gi |
| 156 | replicas: 1 |
| 157 | resources: |
| 158 | requests: |
| 159 | memory: 512Mi |
| 160 | cpu: 250m |
| 161 | limits: |
| 162 | memory: 1Gi |
| 163 | cpu: 500m |
| 164 | logGroomerSidecar: |
| 165 | retentionDays: 7 |
| 166 | resources: |
| 167 | limits: |
| 168 | cpu: 100m |
| 169 | memory: 128Mi |
| 170 | requests: |
| 171 | cpu: 100m |
| 172 | memory: 128Mi |
| garciadeblas | b6c30b4 | 2023-05-26 11:10:11 +0200 | [diff] [blame] | 173 | |
| garciadeblas | 18582e9 | 2024-05-21 12:13:50 +0200 | [diff] [blame] | 174 | alertmanager: |
| 175 | enabled: true |
| 176 | ingress: {} |
| 177 | # host: alertmanager.<IP_ADDRESS>.nip.io |
| 178 | |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 179 | certauth: |
| 180 | enabled: true |
| 181 | |
| 182 | grafana: |
| 183 | enabled: true |
| zamre | abf6770 | 2024-02-07 15:06:16 +0000 | [diff] [blame] | 184 | fullnameOverride: "grafana" |
| garciadeblas | 18582e9 | 2024-05-21 12:13:50 +0200 | [diff] [blame] | 185 | # service: |
| 186 | # type: NodePort |
| 187 | # nodePort: 3000 |
| 188 | # port: 3000 |
| 189 | ingress: |
| 190 | enabled: true |
| 191 | ingressClassName: nginx |
| 192 | # hosts: |
| 193 | # - grafana.<IP_ADDRESS>.nip.io |
| zamre | abf6770 | 2024-02-07 15:06:16 +0000 | [diff] [blame] | 194 | extraVolumes: |
| 195 | - emptyDir: {} |
| 196 | name: sc-dashboard-volume-k8s |
| 197 | - emptyDir: {} |
| 198 | name: sc-dashboard-volume-osm |
| 199 | extraVolumeMounts: |
| 200 | - name: sc-dashboard-volume-k8s |
| 201 | mountPath: "/tmp/dashboards/Kubernetes Cluster" |
| 202 | - name: sc-dashboard-volume-osm |
| 203 | mountPath: "/tmp/dashboards/Open Source MANO" |
| 204 | rbac: |
| 205 | extraClusterRoleRules: |
| 206 | - apiGroups: |
| 207 | - "" |
| 208 | resources: |
| 209 | - configmaps |
| 210 | - secrets |
| 211 | verbs: |
| 212 | - get |
| 213 | - watch |
| 214 | - list |
| 215 | datasources: |
| 216 | datasource.yaml: |
| 217 | apiVersion: 1 |
| 218 | datasources: |
| 219 | - name: osm_prometheus |
| 220 | type: prometheus |
| 221 | url: http://prometheus:9090 |
| 222 | access: proxy |
| 223 | allowUiUpdates: true |
| 224 | isDefault: true |
| 225 | - name: Prometheus |
| 226 | type: prometheus |
| 227 | url: http://osm-monitoring-kube-promet-prometheus.monitoring:9090 |
| 228 | access: proxy |
| 229 | allowUiUpdates: true |
| 230 | isDefault: false |
| 231 | dashboardProviders: |
| 232 | provider.yaml: |
| 233 | apiVersion: 1 |
| 234 | providers: |
| 235 | - name: 'Kubernetes Cluster' |
| 236 | orgId: 1 |
| 237 | folder: 'Kubernetes Cluster' |
| 238 | type: file |
| 239 | disableDeletion: false |
| 240 | options: |
| 241 | path: '/tmp/dashboards/Kubernetes Cluster' |
| 242 | - name: 'Open Source MANO' |
| 243 | orgId: 1 |
| 244 | folder: 'Open Source MANO' |
| 245 | type: file |
| 246 | disableDeletion: false |
| 247 | options: |
| 248 | path: '/tmp/dashboards/Open Source MANO' |
| 249 | sidecar: |
| 250 | dashboards: |
| 251 | enabled: true |
| 252 | folder: "/tmp/dashboards/" |
| 253 | resource: both |
| 254 | searchNamespace: osm |
| garciadeblas | e6d4588 | 2024-05-22 15:03:00 +0200 | [diff] [blame] | 255 | extraMounts: |
| zamre | abf6770 | 2024-02-07 15:06:16 +0000 | [diff] [blame] | 256 | - name: sc-dashboard-volume-k8s |
| 257 | mountPath: "/tmp/dashboards/Kubernetes Cluster" |
| 258 | - name: sc-dashboard-volume-osm |
| 259 | mountPath: "/tmp/dashboards/Open Source MANO" |
| 260 | extraInitContainers: |
| 261 | - env: |
| 262 | - name: METHOD |
| 263 | value: LIST |
| 264 | - name: LABEL |
| 265 | value: grafana_datasource |
| 266 | - name: FOLDER |
| 267 | value: /etc/grafana/provisioning/datasources |
| 268 | - name: RESOURCE |
| 269 | value: both |
| 270 | image: kiwigrid/k8s-sidecar:1.15.6 |
| 271 | imagePullPolicy: IfNotPresent |
| 272 | name: grafana-sc-datasources |
| 273 | resources: {} |
| 274 | terminationMessagePath: /dev/termination-log |
| 275 | terminationMessagePolicy: File |
| 276 | volumeMounts: |
| 277 | - mountPath: /etc/grafana/provisioning/datasources |
| 278 | name: config |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 279 | |
| 280 | kafka: |
| 281 | enabled: true |
| garciadeblas | f512278 | 2025-11-03 11:51:36 +0100 | [diff] [blame^] | 282 | image: |
| 283 | registry: docker.io |
| 284 | repository: bitnamilegacy/kafka |
| 285 | tag: 3.8.0-debian-12-r5 |
| almagia | f976ab8 | 2023-12-07 15:19:15 +0100 | [diff] [blame] | 286 | listeners: |
| 287 | client: |
| 288 | protocol: "PLAINTEXT" |
| 289 | fullnameOverride: "kafka" |
| garciadeblas | 8579587 | 2024-10-14 15:33:04 +0200 | [diff] [blame] | 290 | replicaCount: 1 |
| 291 | controller: |
| 292 | replicaCount: 1 |
| garciadeblas | 2c32fdb | 2025-02-25 12:01:49 +0100 | [diff] [blame] | 293 | resources: |
| 294 | limits: |
| 295 | memory: 1024Mi |
| 296 | heapOpts: -Xmx768m -Xms768m |
| garciadeblas | 8579587 | 2024-10-14 15:33:04 +0200 | [diff] [blame] | 297 | extraConfigYaml: |
| 298 | default.replication.factor: 1 |
| 299 | offsets.topic.replication.factor: 1 |
| 300 | transaction.state.log.replication.factor: 1 |
| 301 | transaction.state.log.min.isr: 1 |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 302 | |
| 303 | keystone: |
| vegall | 7badcae | 2024-07-02 15:30:30 +0000 | [diff] [blame] | 304 | enabled: false |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 305 | service: |
| 306 | port: 5000 |
| 307 | image: {} |
| 308 | # repository: opensourcemano/keystone |
| garciadeblas | 6e45978 | 2023-06-01 00:04:35 +0200 | [diff] [blame] | 309 | # tag: "testing-daily" |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 310 | # replicaCount: 1 |
| 311 | useOsmSecret: true |
| 312 | # secretName: "keystone-secret" |
| 313 | |
| 314 | lcm: |
| 315 | enabled: true |
| garciadeblas | 29484f1 | 2023-05-25 10:36:17 +0200 | [diff] [blame] | 316 | logLevel: DEBUG |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 317 | image: {} |
| 318 | # repository: opensourcemano/lcm |
| garciadeblas | 6e45978 | 2023-06-01 00:04:35 +0200 | [diff] [blame] | 319 | # tag: "testing-daily" |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 320 | # replicaCount: 1 |
| 321 | useOsmSecret: true |
| 322 | # secretName: "lcm-secret" |
| Pedro Pereira | c09bd23 | 2024-06-19 20:59:36 +0100 | [diff] [blame] | 323 | mainPostRenderer: |
| 324 | scriptName: mainPostRenderer |
| garciadeblas | 2ed535b | 2024-12-16 17:02:11 +0100 | [diff] [blame] | 325 | path: /usr/lib/python3/dist-packages/osm_lcm/n2vc/post-renderer-scripts/mainPostRenderer/ |
| Pedro Pereira | c09bd23 | 2024-06-19 20:59:36 +0100 | [diff] [blame] | 326 | podLabelsPostRenderer: |
| 327 | scriptName: podLabels |
| garciadeblas | 2ed535b | 2024-12-16 17:02:11 +0100 | [diff] [blame] | 328 | path: /usr/lib/python3/dist-packages/osm_lcm/n2vc/post-renderer-scripts/podLabels/ |
| Pedro Pereira | b54e51a | 2024-08-23 10:01:42 +0100 | [diff] [blame] | 329 | nodeSelectorPostRenderer: |
| 330 | scriptName: nodeSelector |
| garciadeblas | 2ed535b | 2024-12-16 17:02:11 +0100 | [diff] [blame] | 331 | path: /usr/lib/python3/dist-packages/osm_lcm/n2vc/post-renderer-scripts/nodeSelector/ |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 332 | config: |
| 333 | OSMLCM_VCA_CLOUD: "lxd-cloud" |
| 334 | OSMLCM_VCA_K8S_CLOUD: "k8scloud" |
| 335 | # OSMLCM_VCA_APIPROXY: "<VCA API proxy>" |
| 336 | # OSMLCM_VCA_ENABLEOSUPGRADE: true |
| 337 | # OSMLCM_VCA_APTMIRROR: "http://archive.ubuntu.com/ubuntu/" |
| 338 | |
| 339 | mon: |
| 340 | enabled: true |
| garciadeblas | 29484f1 | 2023-05-25 10:36:17 +0200 | [diff] [blame] | 341 | # logLevel: DEBUG |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 342 | image: {} |
| 343 | # repository: opensourcemano/mon |
| garciadeblas | 6e45978 | 2023-06-01 00:04:35 +0200 | [diff] [blame] | 344 | # tag: "testing-daily" |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 345 | # replicaCount: 1 |
| 346 | useOsmSecret: true |
| 347 | # secretName: "mon-secret" |
| 348 | config: {} |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 349 | |
| garciadeblas | c3aa939 | 2025-04-22 14:13:23 +0200 | [diff] [blame] | 350 | mongodb: |
| 351 | enabled: true |
| garciadeblas | f512278 | 2025-11-03 11:51:36 +0100 | [diff] [blame^] | 352 | image: |
| 353 | registry: docker.io |
| 354 | repository: bitnamilegacy/mongodb |
| 355 | tag: 6.0.5-debian-11-r4 |
| garciadeblas | 99851f9 | 2025-04-30 15:06:50 +0200 | [diff] [blame] | 356 | fullnameOverride: "mongodb-k8s" |
| garciadeblas | c3aa939 | 2025-04-22 14:13:23 +0200 | [diff] [blame] | 357 | replicaCount: 1 |
| 358 | service: |
| 359 | nameOverride: "mongodb-k8s" |
| 360 | auth: |
| 361 | enabled: false |
| 362 | architecture: "replicaset" |
| 363 | livenessProbe: |
| 364 | initialDelaySeconds: 60 |
| 365 | periodSeconds: 30 |
| 366 | timeoutSeconds: 10 |
| 367 | failureThreshold: 10 |
| 368 | successThreshold: 1 |
| 369 | readinessProbe: |
| 370 | initialDelaySeconds: 60 |
| 371 | periodSeconds: 30 |
| 372 | timeoutSeconds: 10 |
| 373 | failureThreshold: 10 |
| 374 | successThreshold: 1 |
| 375 | |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 376 | mysql: |
| vegall | 7badcae | 2024-07-02 15:30:30 +0000 | [diff] [blame] | 377 | enabled: false |
| almagia | f976ab8 | 2023-12-07 15:19:15 +0100 | [diff] [blame] | 378 | image: |
| 379 | tag: "8.1-debian-11" |
| 380 | fullnameOverride: "mysql" |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 381 | |
| 382 | nbi: |
| 383 | enabled: true |
| garciadeblas | 18582e9 | 2024-05-21 12:13:50 +0200 | [diff] [blame] | 384 | ingress: {} |
| 385 | # host: nbi.<IP_ADDRESS>.nip.io |
| garciadeblas | 29484f1 | 2023-05-25 10:36:17 +0200 | [diff] [blame] | 386 | logLevel: DEBUG |
| garciadeblas | 18582e9 | 2024-05-21 12:13:50 +0200 | [diff] [blame] | 387 | service: {} |
| 388 | # type: NodePort |
| 389 | # port: 9999 |
| 390 | # nodePort: 9999 |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 391 | image: {} |
| 392 | # repository: opensourcemano/nbi |
| garciadeblas | 6e45978 | 2023-06-01 00:04:35 +0200 | [diff] [blame] | 393 | # tag: "testing-daily" |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 394 | # replicaCount: 1 |
| 395 | useOsmSecret: true |
| 396 | # secretName: "nbi-secret" |
| jegan | babd7db | 2024-07-05 05:50:07 +0000 | [diff] [blame] | 397 | smtp: |
| 398 | enabled: false |
| 399 | server: "" |
| 400 | port: "" |
| 401 | senderEmail: "" |
| 402 | otpRetryCount: 3 |
| 403 | otpExpiryTime: 300 |
| 404 | secretName: "osmnbi-email-password" |
| 405 | secretKey: "OSMNBI_EMAIL_PASSWORD" |
| 406 | |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 407 | |
| 408 | ngui: |
| 409 | enabled: true |
| garciadeblas | 18582e9 | 2024-05-21 12:13:50 +0200 | [diff] [blame] | 410 | service: {} |
| 411 | # type: NodePort |
| 412 | # port: 80 |
| 413 | # nodePort: 80 |
| 414 | ingress: {} |
| 415 | # host: <IP_ADDRESS>.nip.io |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 416 | image: {} |
| 417 | # repository: opensourcemano/ng-ui |
| garciadeblas | 6e45978 | 2023-06-01 00:04:35 +0200 | [diff] [blame] | 418 | # tag: "testing-daily" |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 419 | # replicaCount: 1 |
| 420 | |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 421 | prometheus: |
| 422 | enabled: true |
| almagia | 027f8ee | 2024-06-03 17:29:12 +0200 | [diff] [blame] | 423 | configmapReload: |
| 424 | prometheus: |
| 425 | enabled: true |
| 426 | prometheus-node-exporter: |
| 427 | enabled: false |
| 428 | kube-state-metrics: |
| 429 | enabled: false |
| 430 | server: |
| 431 | extraFlags: |
| 432 | - web.enable-lifecycle |
| 433 | statefulSet: |
| 434 | enabled: true |
| 435 | configPath: /etc/prometheus/prometheus.yml |
| 436 | fullnameOverride: "prometheus" |
| 437 | service: |
| 438 | servicePort: 9090 |
| 439 | # type: NodePort |
| 440 | # nodePort: 9091 |
| 441 | ingress: |
| 442 | enabled: true |
| 443 | ingressClassName: nginx |
| 444 | # hosts: |
| 445 | # - prometheus.<IP_ADDRESS>.nip.io |
| 446 | sidecarContainers: |
| 447 | prometheus-config-sidecar: |
| 448 | securityContext: |
| 449 | # readOnlyRootFilesystem: true |
| 450 | allowPrivilegeEscalation: false |
| 451 | # runAsNonRoot: true |
| 452 | image: opensourcemano/prometheus:testing-daily |
| 453 | imagePullPolicy: IfNotPresent |
| 454 | command: ["/bin/sh", "-c"] |
| 455 | args: ["sleep 50; python -u ./app.py"] |
| 456 | volumeMounts: |
| 457 | - name: prom-config |
| 458 | mountPath: /etc/prometheus |
| 459 | - name: prom-config-base |
| 460 | mountPath: /etc/prometheus_base |
| 461 | resources: |
| 462 | limits: |
| 463 | memory: 1024Mi |
| 464 | requests: |
| 465 | memory: 128Mi |
| 466 | envFrom: |
| 467 | - configMapRef: |
| 468 | name: osm-prometheus-sidecar-configmap |
| 469 | extraInitContainers: |
| 470 | - name: prometheus-init-config |
| 471 | image: busybox |
| 472 | command: ["/bin/sh", "-c"] |
| 473 | #args: [' sleep 100000 '] |
| 474 | args: ['if [ ! -f "/etc/prometheus/prometheus.yml" ]; then cp /config/prometheus.yml /etc/prometheus; fi; cp /config/osm_metric_rules.yml /config/osm_alert_rules.yml /etc/prometheus'] |
| 475 | volumeMounts: |
| 476 | - name: prom-config |
| 477 | mountPath: /etc/prometheus |
| 478 | - name: prom-config-base |
| 479 | mountPath: /config |
| 480 | extraVolumeMounts: |
| 481 | - name: prom-config |
| 482 | mountPath: /etc/prometheus |
| 483 | extraVolumes: |
| 484 | - name: prom-config |
| 485 | emptyDir: {} |
| 486 | - name: prom-config-base |
| 487 | projected: |
| 488 | sources: |
| 489 | - configMap: |
| 490 | name: osm-prom-configmap |
| 491 | items: |
| 492 | - key: prometheus.yml |
| 493 | path: prometheus.yml |
| 494 | - configMap: |
| 495 | name: osm-prometheus-recordingrules-configmap |
| 496 | items: |
| 497 | - key: osm_metric_rules.yml |
| 498 | path: osm_metric_rules.yml |
| 499 | - configMap: |
| 500 | name: osm-prometheus-alertingrules-configmap |
| 501 | items: |
| 502 | - key: osm_alert_rules.yml |
| 503 | path: osm_alert_rules.yml |
| 504 | extraManifests: |
| 505 | - | |
| 506 | apiVersion: v1 |
| 507 | kind: ConfigMap |
| 508 | metadata: |
| 509 | name: osm-prometheus-alertingrules-configmap |
| 510 | data: |
| 511 | osm_alert_rules.yml: | |
| 512 | groups: |
| 513 | - name: osm_alert_rules |
| 514 | rules: |
| 515 | - alert: vdu_down |
| 516 | expr: vm_status_extended != 1 |
| 517 | for: 3m |
| 518 | annotations: |
| 519 | summary: "VDU {{ "{{" }} $labels.vm_id }} in VIM {{ "{{" }} $labels.vim_id }} is down" |
| 520 | description: "VDU {{ "{{" }} $labels.vm_id }} in VIM {{ "{{" }} $labels.vim_id }} has been down for more than 3 minutes. NS instance id is {{ "{{" }} $labels.ns_id }}" |
| 521 | - | |
| 522 | apiVersion: v1 |
| 523 | kind: ConfigMap |
| 524 | metadata: |
| 525 | name: osm-prometheus-recordingrules-configmap |
| 526 | data: |
| 527 | osm_metric_rules.yml: | |
| 528 | groups: |
| 529 | - name: osm_metric_rules |
| 530 | rules: |
| 531 | - record: vm_status_extended |
| Rahul Zamre | 435b4c6 | 2024-06-04 09:26:57 +0100 | [diff] [blame] | 532 | expr: (last_over_time(vm_status[1m]) * on (vm_id, vim_id) group_left(ns_id, vnf_id, vdu_id, project_id, job, vdu_name, ns_name, vnf_member_index) last_over_time(ns_topology[1m])) or (last_over_time(ns_topology[1m]) * -1) |
| almagia | 027f8ee | 2024-06-03 17:29:12 +0200 | [diff] [blame] | 533 | labels: |
| 534 | job: osm_prometheus |
| 535 | - record: vnf_status |
| 536 | expr: (0 * (count (vm_status_extended==0) by (ns_id, vnf_id)>=0)) or (min by (ns_id, vnf_id) (vm_status_extended)) |
| 537 | labels: |
| 538 | job: osm_prometheus |
| 539 | - record: ns_status |
| 540 | expr: (0 * (count (vm_status_extended==0) by (ns_id)>=0)) or (min by (ns_id) (vm_status_extended)) |
| 541 | labels: |
| 542 | job: osm_prometheus |
| 543 | - | |
| 544 | apiVersion: v1 |
| 545 | kind: ConfigMap |
| 546 | metadata: |
| 547 | name: osm-prometheus-sidecar-configmap |
| 548 | data: |
| 549 | MONGODB_URL: "mongodb://mongodb-k8s:27017/?replicaSet=rs0" |
| 550 | PROMETHEUS_CONFIG_FILE: "/etc/prometheus/prometheus.yml" |
| 551 | PROMETHEUS_BASE_CONFIG_FILE: "/etc/prometheus_base/prometheus.yml" |
| 552 | TARGET_DATABASE: "osm" |
| 553 | PROMETHEUS_URL: "http://prometheus:9090" |
| 554 | - | |
| 555 | apiVersion: v1 |
| 556 | kind: ConfigMap |
| 557 | metadata: |
| 558 | name: osm-prom-configmap |
| 559 | data: |
| 560 | prometheus.yml: | |
| 561 | global: |
| 562 | scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. |
| 563 | evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute. |
| 564 | # scrape_timeout is set to the global default (10s). |
| 565 | # Alertmanager configuration |
| 566 | alerting: |
| 567 | alertmanagers: |
| 568 | - static_configs: |
| 569 | - targets: |
| 570 | - alertmanager:9093 |
| 571 | rule_files: |
| 572 | - "osm_metric_rules.yml" |
| 573 | - "osm_alert_rules.yml" |
| 574 | scrape_configs: |
| 575 | - job_name: 'mon_exporter' |
| 576 | static_configs: |
| 577 | - targets: ['mon:8000'] |
| 578 | - job_name: pushgateway |
| 579 | honor_labels: true |
| 580 | scrape_interval: 30s |
| 581 | static_configs: |
| 582 | - targets: |
| 583 | - pushgateway-prometheus-pushgateway:9091 |
| 584 | - job_name: prometheus |
| 585 | static_configs: |
| 586 | - targets: |
| 587 | - localhost:9090 |
| 588 | - job_name: node |
| 589 | static_configs: |
| 590 | - targets: ['prometheus-node-exporter:9100'] |
| 591 | alertmanager: |
| 592 | enabled: true |
| 593 | fullnameOverride: "alertmanager" |
| 594 | extraArgs: |
| 595 | log.level: debug |
| 596 | # service: |
| 597 | # type: NodePort |
| 598 | # nodePort: 9093 |
| 599 | # port: 9093 |
| 600 | # ingress: |
| 601 | # enabled: True |
| 602 | # className: nginx |
| 603 | # hosts: |
| 604 | # - host: localhost |
| 605 | # paths: |
| 606 | # - path: / |
| 607 | # pathType: ImplementationSpecific |
| 608 | # tls: [] |
| 609 | config: |
| 610 | receivers: |
| 611 | - name: default-receiver |
| 612 | - name: vdu-webhook |
| 613 | webhook_configs: |
| 614 | - url: http://webhook-translator:9998/vdu_down |
| 615 | - name: scaleout-webhook |
| 616 | webhook_configs: |
| 617 | - url: http://webhook-translator:9998/scaleout_vdu |
| 618 | - name: scalein-webhook |
| 619 | webhook_configs: |
| 620 | - url: http://webhook-translator:9998/scalein_vdu |
| 621 | - name: alarm-webhook |
| 622 | webhook_configs: |
| 623 | - url: http://webhook-translator:9998/vdu_alarm |
| 624 | route: |
| 625 | group_wait: 10s |
| 626 | group_interval: 2m |
| 627 | receiver: default-receiver |
| 628 | routes: |
| 629 | - receiver: vdu-webhook |
| 630 | repeat_interval: 15m |
| 631 | matchers: |
| 632 | - alertname = "vdu_down" |
| 633 | - receiver: 'scaleout-webhook' |
| 634 | repeat_interval: 5m |
| 635 | matchers: |
| 636 | - alertname =~ "^scaleout_.*" |
| 637 | - receiver: 'scalein-webhook' |
| 638 | repeat_interval: 5m |
| 639 | matchers: |
| 640 | - alertname =~ "^scalein_.*" |
| 641 | - receiver: 'alarm-webhook' |
| 642 | repeat_interval: 5m |
| 643 | matchers: |
| 644 | - alertname =~ "^vdu_alarm_.*" |
| 645 | prometheus-pushgateway: |
| 646 | fullnameOverride: "pushgateway-prometheus-pushgateway" |
| 647 | |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 648 | ro: |
| 649 | enabled: true |
| garciadeblas | 29484f1 | 2023-05-25 10:36:17 +0200 | [diff] [blame] | 650 | # logLevel: DEBUG |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 651 | service: |
| 652 | port: 9090 |
| 653 | image: {} |
| 654 | # repository: opensourcemano/ro |
| garciadeblas | 6e45978 | 2023-06-01 00:04:35 +0200 | [diff] [blame] | 655 | # tag: "testing-daily" |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 656 | # replicaCount: 1 |
| 657 | useOsmSecret: true |
| 658 | # secretName: "ro-secret" |
| 659 | |
| 660 | vca: |
| garciadeblas | 8375da1 | 2023-10-10 10:52:29 +0200 | [diff] [blame] | 661 | enabled: false |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 662 | # host: "" |
| 663 | # secret: "" |
| 664 | # cacert: "" |
| 665 | # pubkey: "" |
| 666 | |
| 667 | webhookTranslator: |
| 668 | enabled: true |
| garciadeblas | 18582e9 | 2024-05-21 12:13:50 +0200 | [diff] [blame] | 669 | # replicaCount: 1 |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 670 | image: {} |
| 671 | # repository: opensourcemano/webhook |
| garciadeblas | 6e45978 | 2023-06-01 00:04:35 +0200 | [diff] [blame] | 672 | # tag: "testing-daily" |
| garciadeblas | 18582e9 | 2024-05-21 12:13:50 +0200 | [diff] [blame] | 673 | ingress: {} |
| 674 | # host: webhook.<IP_ADDRESS>.nip.io |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 675 | # replicaCount: 1 |
| garciadeblas | 18582e9 | 2024-05-21 12:13:50 +0200 | [diff] [blame] | 676 | service: {} |
| 677 | # type: NodePort |
| 678 | # nodePort: 9998 |
| 679 | # port: 9998 |
| garciadeblas | bbd1af0 | 2025-06-03 13:12:17 +0200 | [diff] [blame] | 680 | config: |
| 681 | airflowHost: "osm-webserver" |
| 682 | # airflowPort: "8080" |