fix(callback_role): support custom Kubernetes cluster domains#1194
Open
mdoulabi1 wants to merge 42 commits into
Open
fix(callback_role): support custom Kubernetes cluster domains#1194mdoulabi1 wants to merge 42 commits into
mdoulabi1 wants to merge 42 commits into
Conversation
Co-authored-by: Rob Nickmans <nickmansrob@gmail.com>
* Patroni 4.0 * timescaledb 2.18.0
- Fix timescaledb installation logic - Make leader tag value for native AWS configurable - Retain multiple minor versions of timescaledb --------- Co-authored-by: idanovinda <idanovinda@gmail.com>
Additionally fix LOG_S3_TAGS parsing logic
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
- keep AWS_EC2_METADATA_SERVICE* envs to enable wal-g - use custom wal-e
To support older boto3 versions
* Write AWS_EC2_METADATA_SERVICE_ENDPOINT* env files only when actually needed
keep at least 5 minor versions, but ensure compatibility with the lowest/oldest PG version (where possible)
Co-authored-by: Ida Novindasari <idanovinda@gmail.com>
Instead, handle PUT IMDS request differently + add timeouts
https://github.com/wal-g/wal-g/releases/tag/v3.0.8 Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
* Update bg_mon, pg_mon, pg_profile, pg_permissions refs * Use pgdg for set_user and pg_permissions
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
- Support PG18 - Patroni 4.1.0 - bg_mon from the original repo Not included for PG18: - pglogical-ticker - pgl-ddl-deploy --------- Co-authored-by: Ida Novindasari <idanovinda@gmail.com>
Replace hardcoded cluster.local with KUBERNETES_SERVICE_HOST env var. Users can now set custom cluster domains like: - https://kubernetes.default.svc.cluster.bk1 - http://192.168.1.1:8443 Fully backwards compatible - defaults to previous behavior. Fixes: patroni could not patch pod labels on clusters with custom cluster domains.
|
Cannot start a pipeline due to: Click on pipeline status check Details link below for more information. |
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
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.
Problem
spilo fails to patch pod labels on Kubernetes clusters with custom cluster domains
(e.g.,
cluster.bk1instead ofcluster.local). Thecallback_role.pyscripthad hardcoded
kubernetes.default.svc.cluster.local.Solution
Use
KUBERNETES_SERVICE_HOSTenvironment variable to allow users to specifycustom API server URLs.
Changes
Usage
Users can now set
KUBERNETES_SERVICE_HOSTenv var: