Skip to content

Conversation

@ademidoff
Copy link
Member

@ademidoff ademidoff commented Jan 7, 2026

This pull request primarily updates the PMM HA Helm chart to improve CI resource efficiency, streamline configuration, and add a new log streaming feature. The most significant changes are resource reductions for CI environments, the addition of a configurable log streamer sidecar, and some cleanup of environment variables and image references.

CI Resource Reductions and Replication Adjustments:

  • Reduced replicaCount and resource requests/limits for pmm, clickhouse, pg-db, and victoriaMetrics components in ci-values.yaml to minimize resource usage during CI runs. This includes lowering memory and CPU requirements and setting most replica counts to 1. [1] [2] [3] [4] [5] [6] [7]

Log Streaming Feature:

  • Added a new logStreamer configuration in values.yaml to enable sidecar containers that stream specified log files to stdout, making logs accessible via kubectl logs. This is implemented in the statefulset.yaml template. [1] [2]

Configuration and Documentation Cleanup:

  • Removed the PMM_HA_BOOTSTRAP environment variable from both values.yaml and documentation, as it's no longer needed or relevant. [1] [2]
  • Updated the default PMM server image repository and tag in values.yaml to use the standard perconalab/pmm-server:3-dev-latest image.

Miscellaneous:

  • Commented out a tmate debugging step in the GitHub Actions workflow, possibly for future troubleshooting but currently disabled.

@ademidoff ademidoff requested a review from a team as a code owner January 7, 2026 00:23
@ademidoff ademidoff requested review from JiriCtvrtka and idoqo and removed request for a team January 7, 2026 00:23
ademidoff and others added 17 commits January 7, 2026 10:52
- Changed the image repository from 'perconalab/pmm-server-fb' to 'perconalab/pmm-server'.
- Updated the image tag to '3-dev-latest'.
- Modified log tailing command to start from the beginning of the log file.
- Introduced a new environment variable, PMM_HA_ADVERTISE_ADDRESS, to the statefulset configuration.
- The variable is set to the pod's IP address, enhancing the service's ability to advertise its address in a high-availability setup.
…lues.yaml to further optimize resource usage
- Updated log streamer configuration to allow streaming of multiple log files, each with its own sidecar container.
- Modified the statefulset template to dynamically create sidecar containers for each specified log file, improving log management and accessibility.
…yaml to enhance performance and resource allocation
- Introduced a new step to set up a tmate session if the workflow fails, allowing for easier debugging and troubleshooting.
- Configured the tmate action to limit access to the actor for security purposes.
…nts in ci-values.yaml to improve performance and optimize resource allocation
…ponents in ci-values.yaml to enhance resource efficiency
…source requests for pg-db in ci-values.yaml to improve performance and resource allocation.
…enabled to false, streamlining resource usage.
@ademidoff ademidoff changed the title PMM-14324 Test the CI pipeline PMM-14324 Fix the test cluster resource limits Jan 9, 2026
@ademidoff ademidoff merged commit fa8fa18 into pmmha-v3 Jan 9, 2026
3 checks passed
@ademidoff ademidoff deleted the PMM-14324-test branch January 9, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants