Commit Graph

785 Commits

Author SHA1 Message Date
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
zhenyus
0de22b2623 refactor(ImageBuilder): remove logging of files in artifact directory to streamline output
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 16:40:46 +08:00
zhenyus
aebebec056 fix(image-builder): log files in artifact directory for better visibility during builds
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 16:31:12 +08:00
zhenyus
f55c8f0e89 fix(image-builder): add --no-cache option to docker buildx command for fresh builds
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 16:21:15 +08:00
zhenyus
e37c078a90 fix(image-builder): log files in build context for improved debugging
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 16:12:23 +08:00
zhenyus
2820e6bea7 fix(image-builder): log current working directory and files in the current directory during image build
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 15:42:10 +08:00
zhenyus
377f4cccb0 fix(pipeline): log current working directory during artifact listing
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 15:13:55 +08:00
zhenyus
912b1fd710 fix(dependencies): increase cache size for npm, yarn, and pnpm installations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 14:45:11 +08:00
zhenyus
0b1f5b709c fix(pipeline): log unstashed files for better debugging
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 14:43:04 +08:00
zhenyus
96985920af fix(frontend): correct typo in build artifacts path for frontend
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 12:02:46 +08:00
zhenyus
c3cafc55ff fix(frontend): increase memory limit for build command and update artifacts
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 10:31:56 +08: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
zhenyus
9a4f6b3458 Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-04-12 12:12:47 +08:00
zhenyus
f6b0e4a71c bump build agent memory limit to 4Gib
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-12 12:12:45 +08: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