-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(cloudnative-pg): update helm-release ( 0.20.2 → 0.21.0 ) #2878
Merged
Conversation
This file contains 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
tyriis-automation
bot
added
renovate/flux
renovate flux manager
renovate/helm
renovate helm datasource
type/minor
a minor update
labels
Apr 25, 2024
Quality Gate passedIssues Measures |
--- kubernetes/talos-flux/apps/database/cloudnative-pg/app Kustomization: flux-system/apps-cloudnative-pg HelmRelease: database/cloudnative-pg
+++ kubernetes/talos-flux/apps/database/cloudnative-pg/app Kustomization: flux-system/apps-cloudnative-pg HelmRelease: database/cloudnative-pg
@@ -12,13 +12,13 @@
spec:
chart: cloudnative-pg
sourceRef:
kind: HelmRepository
name: cloudnative-pg-charts
namespace: flux-system
- version: 0.20.2
+ version: 0.21.0
install:
createNamespace: true
remediation:
retries: 3
interval: 15m
maxHistory: 15 |
--- HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-grafana-dashboard
+++ HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-grafana-dashboard
@@ -6,12 +6,97 @@
namespace: database
labels:
grafana_dashboard: '1'
data:
cnp.json: |-
{
+ "__inputs": [
+ {
+ "name": "DS_PROMETHEUS",
+ "label": "Prometheus",
+ "description": "",
+ "type": "datasource",
+ "pluginId": "prometheus",
+ "pluginName": "Prometheus"
+ },
+ {
+ "name": "DS_EXPRESSION",
+ "label": "Expression",
+ "description": "",
+ "type": "datasource",
+ "pluginId": "__expr__"
+ }
+ ],
+ "__elements": {},
+ "__requires": [
+ {
+ "type": "datasource",
+ "id": "__expr__",
+ "version": "1.0.0"
+ },
+ {
+ "type": "panel",
+ "id": "alertlist",
+ "name": "Alert list",
+ "version": ""
+ },
+ {
+ "type": "panel",
+ "id": "bargauge",
+ "name": "Bar gauge",
+ "version": ""
+ },
+ {
+ "type": "panel",
+ "id": "gauge",
+ "name": "Gauge",
+ "version": ""
+ },
+ {
+ "type": "grafana",
+ "id": "grafana",
+ "name": "Grafana",
+ "version": "10.3.3"
+ },
+ {
+ "type": "panel",
+ "id": "heatmap",
+ "name": "Heatmap",
+ "version": ""
+ },
+ {
+ "type": "datasource",
+ "id": "prometheus",
+ "name": "Prometheus",
+ "version": "1.0.0"
+ },
+ {
+ "type": "panel",
+ "id": "stat",
+ "name": "Stat",
+ "version": ""
+ },
+ {
+ "type": "panel",
+ "id": "table",
+ "name": "Table",
+ "version": ""
+ },
+ {
+ "type": "panel",
+ "id": "text",
+ "name": "Text",
+ "version": ""
+ },
+ {
+ "type": "panel",
+ "id": "timeseries",
+ "name": "Time series",
+ "version": ""
+ }
+ ],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
@@ -31,12 +116,13 @@
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
+ "id": null,
"links": [
{
"asDropdown": false,
"icon": "external link",
"includeVars": false,
"keepTime": false,
@@ -50,51 +136,25 @@
"url": ""
}
],
"liveNow": false,
"panels": [
{
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 563,
- "panels": [],
- "title": "Row title",
- "type": "row"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 1
- },
- "id": 562,
- "panels": [],
- "title": "Summary",
- "type": "row"
- },
- {
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 7,
"w": 3,
"x": 0,
- "y": 2
- },
- "id": 334,
+ "y": 0
+ },
+ "id": 676,
"options": {
- "alertInstanceLabelFilter": "{namespace=~\"$namespace\",pod=~\"$cluster-[0-9]+$\"}",
+ "alertInstanceLabelFilter": "{namespace=~\"$namespace\",pod=~\"$instances\"}",
"alertName": "",
"dashboardAlerts": false,
"folder": "",
"groupBy": [],
"groupMode": "default",
"maxItems": 20,
@@ -115,85 +175,476 @@
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
- "w": 15,
+ "w": 4,
"x": 3,
- "y": 2
+ "y": 0
+ },
+ "id": 586,
+ "options": {
+ "code": {
+ "language": "plaintext",
+ "showLineNumbers": false,
+ "showMiniMap": false
+ },
+ "content": "",
+ "mode": "markdown"
+ },
+ "pluginVersion": "10.3.3",
+ "title": "Health",
+ "type": "text"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 12,
+ "x": 7,
+ "y": 0
},
"id": 336,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "",
"mode": "markdown"
},
- "pluginVersion": "10.2.2",
+ "pluginVersion": "10.3.3",
"title": "Overview",
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
- "w": 3,
- "x": 18,
- "y": 2
+ "w": 2,
+ "x": 19,
+ "y": 0
},
"id": 352,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "",
"mode": "markdown"
},
- "pluginVersion": "10.2.2",
+ "pluginVersion": "10.3.3",
"title": "Storage",
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 3,
"x": 21,
- "y": 2
+ "y": 0
},
"id": 354,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "",
"mode": "markdown"
},
- "pluginVersion": "10.2.2",
+ "pluginVersion": "10.3.3",
"title": "Backups",
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "Cluster Replication Health represents the availability of replica servers available to replace the primary in case of a failure.",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [
+ {
+ "options": {
+ "0": {
+ "color": "red",
+ "index": 2,
+ "text": "None"
+ },
+ "1": {
+ "color": "orange",
+ "index": 1,
+ "text": "Degraded"
+ }
+ },
+ "type": "value"
+ },
+ {
+ "options": {
+ "from": 2,
+ "result": {
+ "color": "green",
+ "index": 0,
+ "text": "Healthy"
+ },
+ "to": 999
+ },
+ "type": "range"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unitScale": true
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 2,
+ "w": 2,
+ "x": 3,
+ "y": 1
+ },
+ "id": 585,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "10.3.3",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "max(cnpg_pg_replication_streaming_replicas{namespace=~\"$namespace\", pod=~\"$instances\"} - cnpg_pg_replication_is_wal_receiver_up{namespace=~\"$namespace\", pod=~\"$instances\"})",
+ "legendFormat": "Replication",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "High lag indicates issue with replication. Network or storage interfaces may not have enough bandwidth to handle incoming traffic and replication at the same time.",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [
+ {
+ "options": {
+ "match": "null",
+ "result": {
[Diff truncated by flux-local]
--- HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-default-monitoring
+++ HelmRelease: database/cloudnative-pg ConfigMap: database/cnpg-default-monitoring
@@ -202,12 +202,13 @@
description: "Last failed WAL LSN"
- stats_reset_time:
usage: "GAUGE"
description: "Time at which these statistics were last reset"
pg_stat_bgwriter:
+ runonserver: "<17.0.0"
query: |
SELECT checkpoints_timed
, checkpoints_req
, checkpoint_write_time
, checkpoint_sync_time
, buffers_checkpoint
--- HelmRelease: database/cloudnative-pg ClusterRole: database/cloudnative-pg
+++ HelmRelease: database/cloudnative-pg ClusterRole: database/cloudnative-pg
@@ -233,12 +233,20 @@
- get
- patch
- update
- apiGroups:
- postgresql.cnpg.io
resources:
+ - clusterimagecatalogs
+ verbs:
+ - get
+ - list
+ - watch
+- apiGroups:
+ - postgresql.cnpg.io
+ resources:
- clusters
verbs:
- create
- delete
- get
- list
@@ -260,12 +268,20 @@
- patch
- update
- watch
- apiGroups:
- postgresql.cnpg.io
resources:
+ - imagecatalogs
+ verbs:
+ - get
+ - list
+ - watch
+- apiGroups:
+ - postgresql.cnpg.io
+ resources:
- poolers
verbs:
- create
- delete
- get
- list
--- HelmRelease: database/cloudnative-pg Deployment: database/cloudnative-pg
+++ HelmRelease: database/cloudnative-pg Deployment: database/cloudnative-pg
@@ -26,20 +26,20 @@
- --config-map-name=cnpg-controller-manager-config
- --webhook-port=9443
command:
- /manager
env:
- name: OPERATOR_IMAGE_NAME
- value: ghcr.io/cloudnative-pg/cloudnative-pg:1.22.2
+ value: ghcr.io/cloudnative-pg/cloudnative-pg:1.23.0
- name: OPERATOR_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: MONITORING_QUERIES_CONFIGMAP
value: cnpg-default-monitoring
- image: ghcr.io/cloudnative-pg/cloudnative-pg:1.22.2
+ image: ghcr.io/cloudnative-pg/cloudnative-pg:1.23.0
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /readyz
port: 9443
scheme: HTTPS |
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports MegaLinter is graciously provided by OX Security |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/kubernetes
cluster/talos-flux
renovate/flux
renovate flux manager
renovate/helm
renovate helm datasource
type/minor
a minor update
0 participants
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 PR contains the following updates:
0.20.2
->0.21.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
cloudnative-pg/charts (cloudnative-pg)
v0.21.0
Compare Source
CloudNativePG Operator Helm Chart
What's Changed
New Contributors
Full Changelog: cloudnative-pg/charts@cluster-v0.0.8...cloudnative-pg-v0.21.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.