- Sep 07, 2024
-
-
kaiyou authored
-
- Aug 22, 2024
-
-
github-actions[bot] authored
Signed-off-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
-
Gabriele Bartolini authored
Closes #5316 Signed-off-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by:
Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by:
Marco Nenciarini <marco.nenciarini@enterprisedb.com>
-
Leonardo Cecchi authored
Allow setting smartShutdownTimeout to zero, enabling users to skip the smart shutdown process and facilitate PostgreSQL Pod termination when needed. Closes: #5338 Signed-off-by:
Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
-
Leonardo Cecchi authored
This patch makes the instance manager terminate all existing operator-related replication connections following a role change in a replica cluster. For context, demoting a PostgreSQL instance involves shutting it down, adjusting the necessary signal files and configuration, and then restarting it, which inherently disconnects all existing connections. In a replica cluster, demotion is unnecessary since it comprises replicas only. In this scenario, only the primary_conninfo parameter needs to be modified, which doesn't require a shutdown. However, this also implies that replicas receiving data from the old primary won't have their connections terminated. Consequently, high-availability replicas connected to the previous primary will remain connected, necessitating manual intervention to terminate those connections and re-establish them with the new endpoint. Closes: #5197 Signed-off-by:
Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by:
YanniHu1996 <yantian.hu@enterprisedb.com> Signed-off-by:
Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by:
Francesco Canovai <francesco.canovai@enterprisedb.com> Co-authored-by:
YanniHu1996 <yantian.hu@enterprisedb.com> Co-authored-by:
Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by:
Francesco Canovai <francesco.canovai@enterprisedb.com>
-
Jonathan Gonzalez V. authored
Before this, we were using only major.minor version to install and run the golangci-lint. In the latest patch version, we found lot of new issues and this started to appear in the linter due to the action installing the latest version available for the minor version. This avoid that by using the full version of the linter to install and setting it to the previous one. Also configures renovate to open PRs on linter updates. Signed-off-by:
Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
-
Peggie authored
Update the versions used to test the operator on public cloud providers Signed-off-by:
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by:
public-cloud-k8s-versions-check <public-cloud-k8s-versions-check@users.noreply.github.com>
-
- Aug 21, 2024
-
-
weiyentan authored
This update adds details to the storage documentation, focusing on the data-locality feature. It highlights scenarios where data instances might reside on the same node, posing a risk if the node is destroyed (following the "cattle, not pets" approach). Such situations could lead to cluster corruption. The documentation outlines these risks and suggests potential solutions to mitigate them. Relates #4355 Signed-off-by:
Wei-Yen Tan <weiyen.tan@gmail.com> Signed-off-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by:
Jaime Silvela <jaime.silvela@enterprisedb.com> Co-authored-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by:
Jaime Silvela <jaime.silvela@enterprisedb.com>
-
Gabriele Bartolini authored
The `-control-plane` flag enables you to request the operator's `Deployment` scheduling on nodes with the `node-role.kubernetes.io/control-plane` label and taint. This is achieved by correctly setting affinity and tolerations in the pod template: ```yaml # <snip> affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: node-role.kubernetes.io/control-plane operator: Exists tolerations: - key: node-role.kubernetes.io/control-plane operator: Exists ``` By default, this flag is set to `false`, allowing the `Deployment` to be scheduled on any available node. Closes #5270 Signed-off-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by:
Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by:
Leonardo Cecchi <leonardo.cecchi@gmail.com> Co-authored-by:
Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by:
Leonardo Cecchi <leonardo.cecchi@gmail.com>
-
Leonardo Cecchi authored
When destroying a Postgres instance using the `destroy` command of the `cnpg` plugin, we ensure that not only the pods and PVCs are deleted, but also any related jobs. Closes: #5285 Signed-off-by:
Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by:
Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by:
Armando Ruocco <armando.ruocco@enterprisedb.com>
-
Sergey Kacheev authored
Signed-off-by:
Sergey Kacheev <S.Kacheev@gmail.com>
-
Marijo Kristo authored
REWE International leverages CloudNativePG to provide PostgreSQL as a Service, creating highly available databases running on Kubernetes in both Google Cloud and on-premises environments. Signed-off-by:
Marijo Kristo <144671509+rewemkris@users.noreply.github.com> Signed-off-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
-
Armando Ruocco authored
This patch adds support for the CNPG-I capability [SetStatusInCluster](https://github.com/cloudnative-pg/cnpg-i/blob/5844b833f4eb1104110cd856d13f45d42d7828a6/proto/operator.proto#L22 ), allowing the plugins that implement this new capability to store their state as a raw JSON string inside the `Cluster` status. Signed-off-by:
Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by:
Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com> Signed-off-by:
Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by:
Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com> Co-authored-by:
Marco Nenciarini <marco.nenciarini@enterprisedb.com>
- Aug 20, 2024
-
-
Jonathan Gonzalez V. authored
Due to the golangci-lint found an issue in the way we used the MustCompile() function arguments, we were using Sprintf() but instead of passing the arguments for a format string we used a `+` operator to concatenate the strings, this lead to a leading space when the error was fixed producing the test fail due to the regexp being wrong. Signed-off-by:
Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
-
Gabriele Bartolini authored
Propose to use `node-role.kubernetes.io/postgres` label and taint on worker nodes. Closes #5305 Signed-off-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by:
Jaime Silvela <jaime.silvela@enterprisedb.com> Signed-off-by:
Francesco Canovai <francesco.canovai@enterprisedb.com> Co-authored-by:
Jaime Silvela <jaime.silvela@enterprisedb.com> Co-authored-by:
Francesco Canovai <francesco.canovai@enterprisedb.com>
-
Leonardo Cecchi authored
Enhance the readiness probe functionality to avoid marking streaming replicas as ready before establishing a successful connection with the corresponding primary. This improvement allows users to quickly identify and address inconsistencies between replicas and primary instances. # Release Notes The readiness probe now fails for streaming replicas that were never connected to the primary instance, allowing incoherent replicas to be discovered promptly. Signed-off-by:
Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by:
Jaime Silvela <jaime.silvela@enterprisedb.com> Signed-off-by:
Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by:
Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com> Co-authored-by:
Jaime Silvela <jaime.silvela@enterprisedb.com> Co-authored-by:
Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by:
Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
-
renovate[bot] authored
-
Gabriele Bartolini authored
Signed-off-by:
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
-
- Aug 19, 2024
-
-
renovate[bot] authored
-
- Aug 18, 2024
-
-
renovate[bot] authored
-
- Aug 16, 2024
-
-
github-actions[bot] authored
Update the Postgres versions used in E2E tests Signed-off-by:
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by:
Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com> Co-authored-by:
postgres-versions-updater <postgres-versions-updater@users.noreply.github.com>
-
Peggie authored
Update the versions used to test the operator on public cloud providers Signed-off-by:
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by:
Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com> Co-authored-by:
public-cloud-k8s-versions-check <public-cloud-k8s-versions-check@users.noreply.github.com>
-
Troy Tao authored
Signed-off-by:
Troy Tao <taozytroy@gmail.com>
-
- Aug 15, 2024
-
-
renovate[bot] authored
-
renovate[bot] authored
jonasbn/github-action-spellcheck `0.40.0` -> `0.41.0` https://github.com/rojopolis/spellcheck-github-actions `0.40.0` -> `0.41.0`
-
renovate[bot] authored
-
renovate[bot] authored
-
renovate[bot] authored
https://github.com/goreleaser/goreleaser `v2.1.0` -> `v2.2.0` https://github.com/prometheus/client_golang `v1.19.1` -> `v1.20.0` golang.org/x/sys `v0.23.0` -> `v0.24.0` github.com/prometheus/client_model `v0.5.0` -> `v0.6.1` github.com/prometheus/common `v0.48.0` -> `v0.55.0` github.com/prometheus/procfs `v0.12.0` -> `v0.15.1` golang.org/x/oauth2 `v0.20.0` -> `v0.21.0`
-
renovate[bot] authored
https://github.com/operator-framework/operator-sdk `v1.36.0` -> `v1.36.1` quay.io/operator-framework/scorecard-test `v1.36.0` -> `v1.36.1`
-
- Aug 12, 2024
-
-
github-actions[bot] authored
Update default PostgreSQL version from 16.3 to 16.4 Signed-off-by:
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by:
postgres-versions-updater <postgres-versions-updater@users.noreply.github.com>
-
- Aug 08, 2024
-
-
renovate[bot] authored
https://github.com/onsi/ginkgo `v2.19.1` -> `v2.20.0` github.com/google/pprof` `v0.0.0-20240424215950-a892ee059fd6` -> `v0.0.0-20240727154555-813a5fbdbec8` golang.org/x/crypto `v0.25.0` -> `v0.26.0` golang.org/x/net `v0.27.0` -> `v0.28.0` golang.org/x/sync `v0.7.0` -> `v0.8.0` golang.org/x/text `v0.16.0` -> `v0.17.0` golang.org/x/tools `v0.23.0` -> `v0.24.0`
-
- Aug 07, 2024
-
-
renovate[bot] authored
-
renovate[bot] authored
-
renovate[bot] authored
https://github.com/cloudnative-pg/cnpg-i `cf1ab8f` -> `9ea12e7` golang.org/x/sys `v0.22.0` -> `v0.23.0` golang.org/x/term `v0.22.0` -> `v0.23.0`
-
renovate[bot] authored
-
renovate[bot] authored
-
github-actions[bot] authored
Update the Postgres versions used in E2E tests Signed-off-by:
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by:
Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com> Co-authored-by:
postgres-versions-updater <postgres-versions-updater@users.noreply.github.com>
-
Peggie authored
Update the versions used to test the operator on public cloud providers Signed-off-by:
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by:
public-cloud-k8s-versions-check <public-cloud-k8s-versions-check@users.noreply.github.com>
-
- Aug 06, 2024
-
-
Leonardo Cecchi authored
Signed-off-by:
Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
-