Commit Graph

446 Commits

Author SHA1 Message Date
zhenyus
544293f7b2 fix(opentelemetry): refine log processing by removing unnecessary fields and enhancing attribute insertion
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 15:05:05 +08:00
zhenyus
90b4b3bb9b fix(opentelemetry): simplify log transformation by removing unnecessary merge operation
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 14:49:20 +08:00
zhenyus
3daf27cb4d fix(opentelemetry): enhance log transformation logic to include merging attributes
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 14:46:52 +08:00
zhenyus
19626a44fa fix(opentelemetry): update log ingestion settings and enhance transformation logic
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 14:38:55 +08:00
freeleaps-gitops-bot
b97d5228d9 ci(bump): bump payment image version for alpha to snapshot-ecad36a 2025-04-21 05:59:42 +00:00
freeleaps-gitops-bot
5d99538330 ci(bump): bump notification image version for alpha to snapshot-ecad36a 2025-04-21 05:53:21 +00:00
freeleaps-gitops-bot
51257ab53c ci(bump): bump content image version for alpha to snapshot-ecad36a 2025-04-21 05:47:20 +00:00
freeleaps-gitops-bot
773f2cd9a5 ci(bump): bump centralStorage image version for alpha to snapshot-ecad36a 2025-04-21 05:39:02 +00:00
freeleaps-gitops-bot
d087f1d360 ci(bump): bump authentication image version for alpha to snapshot-ecad36a 2025-04-21 05:33:20 +00:00
freeleaps-gitops-bot
603ee2244a ci(bump): bump payment image version for alpha to snapshot-32c4fe9 2025-04-21 04:22:35 +00:00
freeleaps-gitops-bot
d8c18f2466 ci(bump): bump notification image version for alpha to snapshot-32c4fe9 2025-04-21 04:16:09 +00:00
freeleaps-gitops-bot
8680101a11 ci(bump): bump content image version for alpha to snapshot-32c4fe9 2025-04-21 04:10:12 +00:00
freeleaps-gitops-bot
67b7a7ed2c ci(bump): bump centralStorage image version for alpha to snapshot-32c4fe9 2025-04-21 04:02:00 +00:00
freeleaps-gitops-bot
3132b59a81 ci(bump): bump authentication image version for alpha to snapshot-32c4fe9 2025-04-21 03:56:29 +00:00
freeleaps-gitops-bot
cab603d999 ci(bump): bump centralStorage image version for alpha to 1.1.1 2025-04-21 03:12:53 +00:00
freeleaps-gitops-bot
be745ba915 ci(bump): bump authentication image version for alpha to 1.1.1 2025-04-21 03:07:41 +00:00
freeleaps-gitops-bot
a308bcc41e ci(bump): bump freeleaps image version for alpha to snapshot-7c6de24 2025-04-20 23:07:59 +00:00
freeleaps-gitops-bot
4cc262cba5 ci(bump): bump payment image version for alpha to 1.1.1 2025-04-20 17:54:43 +00:00
freeleaps-gitops-bot
396b90c01a ci(bump): bump notification image version for alpha to 1.1.1 2025-04-20 17:48:52 +00:00
freeleaps-gitops-bot
ec9d3f4e44 ci(bump): bump content image version for alpha to 1.1.1 2025-04-20 17:43:18 +00:00
freeleaps-gitops-bot
ae2873c031 ci(bump): bump freeleaps image version for alpha to snapshot-d8c2bde 2025-04-19 16:30:10 +00:00
freeleaps-gitops-bot
709221d80b ci(bump): bump frontend image version for prod to 1.1.0 2025-04-19 02:38:24 +00:00
freeleaps-gitops-bot
a9a8e09f29 ci(bump): bump freeleaps image version for prod to 1.1.0 2025-04-19 02:32:02 +00:00
freeleaps-gitops-bot
9dc8eb74d4 ci(bump): bump chat image version for prod to 1.1.0 2025-04-19 02:23:59 +00:00
freeleaps-gitops-bot
2697fdd5eb ci(bump): bump frontend image version for alpha to snapshot-c538112 2025-04-18 23:47:53 +00:00
freeleaps-gitops-bot
07ceccc12e ci(bump): bump freeleaps image version for alpha to snapshot-b04cbde 2025-04-18 16:30:55 +00:00
freeleaps-gitops-bot
6baef61af0 ci(bump): bump chat image version for alpha to snapshot-b04cbde 2025-04-18 16:22:01 +00:00
freeleaps-gitops-bot
0abc217111 ci(bump): bump frontend image version for prod to 1.0.0 2025-04-18 06:51:10 +00:00
freeleaps-gitops-bot
d9728b25aa ci(bump): bump freeleaps image version for prod to 1.0.0 2025-04-18 06:43:53 +00:00
freeleaps-gitops-bot
06eccc4700 ci(bump): bump chat image version for prod to 1.0.0 2025-04-18 06:40:40 +00:00
zhenyus
67c4772407 fix: update imagePullPolicy to 'Always' for chat, backend, and frontend services; change branch name from 'master' to 'main' in configmap
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-18 14:36:35 +08:00
freeleaps-gitops-bot
25de112fee ci(bump): bump devsvc image version for prod to 1.1.0 2025-04-18 05:56:51 +00:00
freeleaps-gitops-bot
6fb4bbb80d ci(bump): bump payment image version for prod to 1.1.1 2025-04-18 05:21:29 +00:00
freeleaps-gitops-bot
4a4734c808 ci(bump): bump notification image version for prod to 1.1.1 2025-04-18 05:15:02 +00:00
freeleaps-gitops-bot
68b948170f ci(bump): bump content image version for prod to 1.1.1 2025-04-18 05:09:13 +00:00
freeleaps-gitops-bot
e0a05e3816 ci(bump): bump centralStorage image version for prod to 1.1.1 2025-04-18 05:01:30 +00:00
freeleaps-gitops-bot
e937aaa092 ci(bump): bump authentication image version for prod to 1.1.1 2025-04-18 04:56:16 +00:00
freeleaps-gitops-bot
e8b9c2d74f ci(bump): bump freeleaps image version for alpha to snapshot-de8dcd1 2025-04-18 03:03:30 +00:00
freeleaps-gitops-bot
ee1e9505e3 ci(bump): bump frontend image version for alpha to snapshot-356babb 2025-04-17 15:57:43 +00:00
freeleaps-gitops-bot
94117bae98 ci(bump): bump frontend image version for alpha to snapshot-f718d6a 2025-04-16 16:30:34 +00:00
zhenyus
33c91ecb8d fix: remove debug exporter and adjust k8sattributes processor configuration in OpenTelemetry setup
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 10:34:22 +08:00
zhenyus
354f6b2669 fix: add missing remove operator for body field in OpenTelemetry log processing
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:29:19 +08:00
zhenyus
b42a6ee07f fix: remove unnecessary transform processor from OpenTelemetry log pipeline
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:26:40 +08:00
zhenyus
e60016366e fix: correct indentation for OpenTelemetry config checksum annotation in deployment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:26:19 +08:00
zhenyus
d7c952fe2e fix: add missing annotations for OpenTelemetry configuration in deployment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:25:09 +08:00
zhenyus
c85f4966c5 fix: remove transform section from OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:23:27 +08:00
zhenyus
9f9151ad12 fix: remove unnecessary format field from loki exporter configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:19:30 +08:00
zhenyus
a72ed9b1b9 feat: add additional fields for pod IP and node name in OpenTelemetry log transformation
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:18:50 +08:00
zhenyus
61e3f5caff fix: add missing id field to json_parser operator and update transform statements in OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:17:23 +08:00
zhenyus
fb0c828156 fix: add missing id field for json_parser operator in OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:06:41 +08:00
zhenyus
a8a0251f4e feat: add OpenTelemetry config checksum to deployment annotations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:01:35 +08:00
zhenyus
063a2c3eea fix: remove unnecessary json_parser configuration from OpenTelemetry collector
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:00:42 +08:00
zhenyus
d597e30b1b feat: update log ingestion configuration for OpenTelemetry collector
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:58:07 +08:00
zhenyus
97d906939e fix: add security context for OpenTelemetry collector in configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:46:10 +08:00
zhenyus
8281c6eef7 feat: add volume mounts for log ingestion in OpenTelemetry and deployment configurations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:35:51 +08:00
zhenyus
a01184310d fix: move serviceAccountName configuration under spec section in deployment.yaml
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:32:01 +08:00
zhenyus
494ae78d5f fix: move serviceAccountName configuration under containers section in deployment.yaml
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:30:13 +08:00
zhenyus
0653829a07 fix: add serviceAccountName for OpenTelemetry collector in deployment configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:27:49 +08:00
zhenyus
535de7a8aa fix: add quotes around serviceAccount name in OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:25:50 +08:00
zhenyus
849511b6ca feat: add OpenTelemetry RBAC configuration with ServiceAccount and ClusterRole
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:17:32 +08:00
zhenyus
e4ad10886f fix: update OpenTelemetry configuration to include TLS settings for Loki exporter and remove logging exporter
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:15:00 +08:00
zhenyus
623d504c5c fix: correct indentation for logging configuration in OpenTelemetry YAML
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:13:41 +08:00
zhenyus
cf1506978f fix: add loki.format attribute for log ingestion and remove unnecessary labels from exporter configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:12:42 +08:00
zhenyus
ed5c6a45af fix: refactor OpenTelemetry configuration by removing unused operators and restructuring metadata extraction
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:06:43 +08:00
zhenyus
b8af384f68 fix: update OpenTelemetry sidecar injection annotation for dynamic configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 05:53:43 +08:00
zhenyus
b2dd79744b fix: correct syntax for 'from' field in OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 05:50:50 +08:00
zhenyus
eedb1cefc7 fix: update CA injection annotations and webhook service URLs for OpenTelemetry operator
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 05:49:54 +08:00
zhenyus
a0d88d9507 Add OpenTelemetry Collector configuration for log ingestion
- Introduced a new OpenTelemetryCollector resource in the Helm chart.
- Configured filelog receiver to ingest logs based on specified patterns.
- Added processors for Kubernetes attributes and resource metadata.
- Set up Loki exporter for log forwarding with appropriate labels.
- Configured logging verbosity and defined log processing pipelines.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 05:45:40 +08:00
zhenyus
842f811767 fix: update resource kinds to Parser and Output for consistency and correct configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 01:07:46 +08:00
zhenyus
4576a4fe1a fix: remove FluentBit resource definition and retain only ClusterParser for streamlined configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 01:06:22 +08:00
zhenyus
b80518cdb7 fix: change kind from Parser and Output to ClusterParser and ClusterOutput for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:57:07 +08:00
zhenyus
d699274fe7 fix: change kind from FluentBitConfig to ClusterFluentBitConfig for correct resource definition
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:54:38 +08:00
zhenyus
decca8e7a1 fix: update labels for Fluent Bit resources to ensure correct identification
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:46:39 +08:00
zhenyus
b735ea1e0c fix: update namespace for Fluent Bit resources to freeleaps-logging-system
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:33:15 +08:00
zhenyus
a961051e0c fix: rename ClusterInput and update matchLabels for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:30:49 +08:00
zhenyus
f36a87eaca fix: add ClusterInput configuration for Fluent Bit log collection
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:29:00 +08:00
zhenyus
cf83b661d1 fix: add missing labels to Fluent Bit resources for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:28:40 +08:00
zhenyus
f8515ce1fa Merge branches 'master' and 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-04-16 00:18:19 +08:00
zhenyus
358f131809 Add Fluent Bit configuration for log collection
- Introduced Fluent Bit resources including FluentBit, Parser, Output, FluentBitConfig, and ClusterInput.
- Configured default resource requests and limits for Fluent Bit.
- Set up JSON parser with customizable time key and format.
- Established output forwarding to Fluentd service in the logging system.
- Enabled conditional deployment based on the `fluentbit.enabled` value in Helm chart.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:18:16 +08:00
freeleaps-gitops-bot
4da88a8726 ci(bump): bump frontend image version for alpha to snapshot-7ae12d3 2025-04-15 15:45:30 +00:00
freeleaps-gitops-bot
fc8933dcaf ci(bump): bump frontend image version for alpha to snapshot-48580c1 2025-04-14 15:33:20 +00:00
freeleaps-gitops-bot
ff8187fc15 ci(bump): bump frontend image version for alpha to snapshot-3201dda 2025-04-14 09:22:20 +00:00
freeleaps-gitops-bot
5c0c1ef359 ci(bump): bump frontend image version for alpha to snapshot-757ece1 2025-04-14 02:11:22 +00:00
freeleaps-gitops-bot
8d13b8f45e ci(bump): bump frontend image version for alpha to snapshot-a1f7f7c 2025-04-13 16:02:35 +00:00
freeleaps-gitops-bot
8b6d45b234 ci(bump): bump freeleaps image version for alpha to snapshot-240a38c 2025-04-12 01:44:46 +00:00
freeleaps-gitops-bot
e9fae626f5 ci(bump): bump chat image version for alpha to snapshot-240a38c 2025-04-12 01:36:27 +00:00
freeleaps-gitops-bot
0e673d125e ci(bump): bump freeleaps image version for alpha to snapshot-b0bb4b5 2025-04-11 04:10:34 +00:00
freeleaps-gitops-bot
0e29230498 ci(bump): bump freeleaps image version for alpha to snapshot-f91728d 2025-04-11 01:07:06 +00:00
zhenyus
6ebdef8933 Update ingress hosts and issuer references for alpha environment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-11 01:22:29 +08:00
zhenyus
68db147b18 Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-04-09 16:15:26 +08:00
zhenyus
0c6aa8d17f Add Dockerfile and repmgr script for PostgreSQL replication management
- Created a new Dockerfile for PostgreSQL using the Bitnami repmgr image.
- Added a comprehensive `librepmgr.sh` script to manage PostgreSQL replication, including functions for node identification, password management, configuration validation, and primary/standby node operations.
- Implemented environment variable validations and PostgreSQL configuration injections for replication settings.
- Included functions for creating the repmgr user and database, as well as handling node registration and failover processes.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-09 16:15:23 +08:00
freeleaps-gitops-bot
3faf0f0339 ci(bump): bump freeleaps image version for alpha to snapshot-6efa558 2025-04-05 02:57:40 +00:00
zhenyus
406f2d11d0 Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-03-31 15:19:36 +08:00
zhenyus
6029462f12 ci: update Gitea webhook configuration and modify Redis URLs for alpha environment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-31 15:19:33 +08:00
freeleaps-gitops-bot
690ab01abd ci(bump): bump frontend image version for alpha to snapshot-94dde37 2025-03-31 07:14:20 +00:00
freeleaps-gitops-bot
dbd2c30e3b ci(bump): bump freeleaps image version for alpha to snapshot-94dde37 2025-03-31 07:07:56 +00:00
freeleaps-gitops-bot
ca823030db ci(bump): bump chat image version for alpha to snapshot-94dde37 2025-03-31 06:59:47 +00:00
freeleaps-gitops-bot
4aa41acd43 ci(bump): bump frontend image version for alpha to snapshot-2bd9431 2025-03-31 06:06:31 +00:00
zhenyus
25a977e0ee ci: increase memory requests and limits for PostgreSQL HA in Gitea values
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-31 13:53:21 +08:00
zhenyus
f415b83a85 ci: update execute mode to 'on-demand' in Jenkinsfiles and change MongoDB URIs to use SRV format
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-31 13:51:04 +08:00