-
Notifications
You must be signed in to change notification settings - Fork 192
PMM-14324 Fix the test cluster resource limits #755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…alues.yaml to optimize resource usage
- 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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
replicaCountand resource requests/limits forpmm,clickhouse,pg-db, andvictoriaMetricscomponents inci-values.yamlto 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:
logStreamerconfiguration invalues.yamlto enable sidecar containers that stream specified log files to stdout, making logs accessible viakubectl logs. This is implemented in thestatefulset.yamltemplate. [1] [2]Configuration and Documentation Cleanup:
PMM_HA_BOOTSTRAPenvironment variable from bothvalues.yamland documentation, as it's no longer needed or relevant. [1] [2]values.yamlto use the standardperconalab/pmm-server:3-dev-latestimage.Miscellaneous: