Skip to content

Commit c691eb6

Browse files
ehbellomaarlab
authored andcommitted
Release cluster-v0.5.0-maarlab1
- Bump chart version to 0.5.0-maarlab1 and update metadata. - Update repository sources and maintainer to maarlab-rethinking. - Update runbook URLs in Prometheus rules to point to the new fork. - Simplify the plugins definition in values.schema.json. Signed-off-by: Enrique Hernández Bello <ehernandez@maarlab.com>
1 parent ad4c883 commit c691eb6

21 files changed

+25
-43
lines changed

charts/cluster/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ name: cluster
2121
description: Deploys and manages a CloudNativePG cluster and its associated resources.
2222
icon: https://raw.githubusercontent.com/cloudnative-pg/artwork/main/cloudnativepg-logo.svg
2323
type: application
24-
version: 0.5.0
24+
version: 0.5.0-maarlab1
2525
sources:
26-
- https://github.com/cloudnative-pg/charts
26+
- https://github.com/maarlab-rethinking/cloudnative-pg-charts
2727
keywords:
2828
- postgresql
2929
- postgres
3030
- database
3131
home: https://cloudnative-pg.io
3232
maintainers:
33-
- name: itay-grudev
34-
email: itay+cloudnativepg-charts+github.com@grudev.com
33+
- name: maarlab-rethinking
34+
email: engineering@maarlab.com

charts/cluster/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cluster
22

3-
![Version: 0.5.0](https://img.shields.io/badge/Version-0.5.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
3+
![Version: 0.5.0-maarlab1](https://img.shields.io/badge/Version-0.5.0--maarlab1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
44

55
> **Warning**
66
> ### This chart is under active development.
@@ -345,7 +345,7 @@ refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentat
345345

346346
| Name | Email | Url |
347347
| ---- | ------ | --- |
348-
| itay-grudev | <itay+cloudnativepg-charts+github.com@grudev.com> | |
348+
| maarlab-rethinking | <engineering@maarlab.com> | |
349349

350350
Features that require feedback
351351
------------------------------

charts/cluster/prometheus_rules/cluster-ha-critical.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ annotations:
1515
1616
This alarm will be always trigger if your cluster is configured to run with only 1 instance. In this
1717
case you may want to silence it.
18-
runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHACritical.md
18+
runbook_url: https://github.com/maarlab-rethinking/cloudnative-pg-charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHACritical.md
1919
expr: |
2020
max by (job) (cnpg_pg_replication_streaming_replicas{namespace="{{ .namespace }}"} - cnpg_pg_replication_is_wal_receiver_up{namespace="{{ .namespace }}"}) < 1
2121
for: 5m

charts/cluster/prometheus_rules/cluster-ha-warning.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ annotations:
1313
1414
This alarm will be constantly triggered if your cluster is configured to run with less than 3 instances.
1515
In this case you may want to silence it.
16-
runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHAWarning.md
16+
runbook_url: https://github.com/maarlab-rethinking/cloudnative-pg-charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHAWarning.md
1717
expr: |
1818
max by (job) (cnpg_pg_replication_streaming_replicas{namespace="{{ .namespace }}"} - cnpg_pg_replication_is_wal_receiver_up{namespace="{{ .namespace }}"}) < 2
1919
for: 5m

charts/cluster/prometheus_rules/cluster-high_connection-critical.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ annotations:
66
description: |-
77
CloudNativePG Cluster "{{ .namespace }}/{{ .cluster }}" instance {{ .labels.pod }} is using {{ .value }}% of
88
the maximum number of connections.
9-
runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHighConnectionsCritical.md
9+
runbook_url: https://github.com/maarlab-rethinking/cloudnative-pg-charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHighConnectionsCritical.md
1010
expr: |
1111
sum by (pod) (cnpg_backends_total{namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) / max by (pod) (cnpg_pg_settings_setting{name="max_connections", namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) * 100 > 95
1212
for: 5m

charts/cluster/prometheus_rules/cluster-high_connection-warning.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ annotations:
66
description: |-
77
CloudNativePG Cluster "{{ .namespace }}/{{ .cluster }}" instance {{ .labels.pod }} is using {{ .value }}% of
88
the maximum number of connections.
9-
runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHighConnectionsWarning.md
9+
runbook_url: https://github.com/maarlab-rethinking/cloudnative-pg-charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHighConnectionsWarning.md
1010
expr: |
1111
sum by (pod) (cnpg_backends_total{namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) / max by (pod) (cnpg_pg_settings_setting{name="max_connections", namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) * 100 > 80
1212
for: 5m

charts/cluster/prometheus_rules/cluster-high_replication_lag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ annotations:
88
{{ .value }}s.
99
1010
High replication lag indicates network issues, busy instances, slow queries or suboptimal configuration.
11-
runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHighReplicationLag.md
11+
runbook_url: https://github.com/maarlab-rethinking/cloudnative-pg-charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHighReplicationLag.md
1212
expr: |
1313
max(cnpg_pg_replication_lag{namespace="{{ .namespace }}",pod=~"{{ .podSelector }}"}) > 1
1414
for: 5m

charts/cluster/prometheus_rules/cluster-instances_on_same_node.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ annotations:
88
instances on the same node {{ .labels.node }}.
99
1010
A failure or scheduled downtime of a single node will lead to a potential service disruption and/or data loss.
11-
runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterInstancesOnSameNode.md
11+
runbook_url: https://github.com/maarlab-rethinking/cloudnative-pg-charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterInstancesOnSameNode.md
1212
expr: |
1313
count by (node) (kube_pod_info{namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) > 1
1414
for: 5m

charts/cluster/prometheus_rules/cluster-logical_replication_errors-critical.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ annotations:
77
CloudNativePG Cluster's "{{ .namespace }}/{{ .cluster }}" "{{ "{{ .subname }}" }}" subscription has experienced {{ .value }} errors in the last 5 minutes.
88
99
CRITICAL: High error rate indicates persistent replication issues requiring immediate attention. This could lead to significant data inconsistency or complete replication failure. Errors include both apply errors and sync errors. The subscription may stop working if errors continue.
10-
runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterLogicalReplicationErrors.md
10+
runbook_url: https://github.com/maarlab-rethinking/cloudnative-pg-charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterLogicalReplicationErrors.md
1111
expr: |
1212
label_replace(increase(max by (namespace, job, subname) (cnpg_pg_stat_subscription_apply_error_count + cnpg_pg_stat_subscription_sync_error_count)[5m]), "cluster", "$1", "job", ".+/(.+)") >= 5
1313
for: 0m

charts/cluster/prometheus_rules/cluster-logical_replication_errors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ annotations:
77
CloudNativePG Cluster's "{{ .namespace }}/{{ .cluster }}" "{{ "{{ .subname }}" }}" subscription has experienced {{ .value }} errors.
88
99
This includes both apply errors (during normal replication) and sync errors (during initial table sync). Errors indicate data consistency issues that need immediate attention to prevent data divergence.
10-
runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/{{ $alert }}.md
10+
runbook_url: https://github.com/maarlab-rethinking/cloudnative-pg-charts/blob/main/charts/cluster/docs/runbooks/{{ $alert }}.md
1111
expr: |
1212
label_replace(increase(max by (namespace, job, subname) (cnpg_pg_stat_subscription_apply_error_count + cnpg_pg_stat_subscription_sync_error_count)[5m]), "cluster", "$1", "job", ".+/(.+)") > 0
1313
for: 1m

0 commit comments

Comments
 (0)