From ceb69280412103476ba6280f5ea7ed3745e17687 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 29 Mar 2026 21:11:12 -0500 Subject: [PATCH] feat: change default resources --- charts/generic-device-plugin/README.md | 4 ++-- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 6 +++--- charts/postgres-cluster/values.yaml | 4 ++-- charts/valkey/Chart.yaml | 2 +- charts/valkey/README.md | 8 ++++---- charts/valkey/values.yaml | 6 +++--- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/charts/generic-device-plugin/README.md b/charts/generic-device-plugin/README.md index 7ffa706..6b61ed8 100644 --- a/charts/generic-device-plugin/README.md +++ b/charts/generic-device-plugin/README.md @@ -1,6 +1,6 @@ # generic-device-plugin -![Version: 0.20.21](https://img.shields.io/badge/Version-0.20.21-informational?style=flat-square) ![AppVersion: 0.20.17](https://img.shields.io/badge/AppVersion-0.20.17-informational?style=flat-square) +![Version: 0.20.22](https://img.shields.io/badge/Version-0.20.22-informational?style=flat-square) ![AppVersion: 0.20.17](https://img.shields.io/badge/AppVersion-0.20.17-informational?style=flat-square) Generic Device Plugin @@ -28,7 +28,7 @@ Generic Device Plugin | config | object | `{"data":"devices:\n - name: serial\n groups:\n - paths:\n - path: /dev/ttyUSB*\n - paths:\n - path: /dev/ttyACM*\n - paths:\n - path: /dev/tty.usb*\n - paths:\n - path: /dev/cu.*\n - paths:\n - path: /dev/cuaU*\n - paths:\n - path: /dev/rfcomm*\n - name: video\n groups:\n - paths:\n - path: /dev/video0\n - name: fuse\n groups:\n - count: 10\n paths:\n - path: /dev/fuse\n - name: audio\n groups:\n - count: 10\n paths:\n - path: /dev/snd\n - name: capture\n groups:\n - paths:\n - path: /dev/snd/controlC0\n - path: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC1\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC1D0c\n mountPath: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC2\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC2D0c\n mountPath: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC3\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC3D0c\n mountPath: /dev/snd/pcmC0D0c\n","enabled":true}` | Config map | | config.data | string | See [values.yaml](./values.yaml) | generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage) | | deviceDomain | string | `"devic.es"` | Domain used by devices for identifcation | -| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/squat/generic-device-plugin","tag":"latest@sha256:5acdaa40af84adf8b6f7bb1b8930d4e7be1ebe7f0109f00211ce3df43217b3b7"}` | Default image | +| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/squat/generic-device-plugin","tag":"latest@sha256:6a58b2896918e1a4a587d9b39bceec43b3f2e7c85aabdd39f8041add8a7a8585"}` | Default image | | name | string | `"generic-device-plugin"` | Name override of release | | resources | object | `{"requests":{"cpu":"50m","memory":"10Mi"}}` | Default resources | | service | object | `{"listenPort":8080}` | Service port | diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index bbfafc2..953d742 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 7.10.0 +version: 7.11.0 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 45874aa..a46ec13 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 7.10.0](https://img.shields.io/badge/Version-7.10.0-informational?style=flat-square) ![AppVersion: v1.28.1](https://img.shields.io/badge/AppVersion-v1.28.1-informational?style=flat-square) +![Version: 7.11.0](https://img.shields.io/badge/Version-7.11.0-informational?style=flat-square) ![AppVersion: v1.28.1](https://img.shields.io/badge/AppVersion-v1.28.1-informational?style=flat-square) Cloudnative-pg Cluster @@ -24,7 +24,7 @@ Cloudnative-pg Cluster | backup.method | string | `"objectStore"` | Method to create backups, options currently are only objectStore | | backup.objectStore | string | `nil` | Options for object store backups | | backup.scheduledBackups | list | `[]` | List of scheduled backups | -| cluster | object | `{"additionalLabels":{},"affinity":{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"},"annotations":{},"certificates":{},"enablePDB":true,"enableSuperuserAccess":false,"image":{"repository":"ghcr.io/cloudnative-pg/postgresql","tag":"18.3-standard-trixie"},"imagePullPolicy":"IfNotPresent","imagePullSecrets":[],"initdb":{"database":"app","owner":"app"},"instances":3,"logLevel":"info","monitoring":{"customQueries":[],"customQueriesSecret":[],"disableDefaultQueries":false,"enabled":true,"podMonitor":{"enabled":true,"metricRelabelings":[],"relabelings":[]},"prometheusRule":{"enabled":true,"excludeRules":["CNPGClusterLastFailedArchiveTimeWarning"]}},"postgresGID":-1,"postgresUID":-1,"postgresql":{"ldap":{},"parameters":{"hot_standby_feedback":"on","max_slot_wal_keep_size":"2000MB","shared_buffers":"128MB"},"pg_hba":[],"pg_ident":[],"shared_preload_libraries":[],"synchronous":{}},"primaryUpdateMethod":"switchover","primaryUpdateStrategy":"unsupervised","priorityClassName":"","resources":{"limits":{"hugepages-2Mi":"256Mi"},"requests":{"cpu":"100m","memory":"256Mi"}},"roles":[],"serviceAccountTemplate":{},"services":{},"storage":{"size":"10Gi","storageClass":"local-path"},"superuserSecret":"","walStorage":{"enabled":true,"size":"2Gi","storageClass":"local-path"}}` | Cluster settings | +| cluster | object | `{"additionalLabels":{},"affinity":{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"},"annotations":{},"certificates":{},"enablePDB":true,"enableSuperuserAccess":false,"image":{"repository":"ghcr.io/cloudnative-pg/postgresql","tag":"18.3-standard-trixie"},"imagePullPolicy":"IfNotPresent","imagePullSecrets":[],"initdb":{"database":"app","owner":"app"},"instances":3,"logLevel":"info","monitoring":{"customQueries":[],"customQueriesSecret":[],"disableDefaultQueries":false,"enabled":true,"podMonitor":{"enabled":true,"metricRelabelings":[],"relabelings":[]},"prometheusRule":{"enabled":true,"excludeRules":["CNPGClusterLastFailedArchiveTimeWarning"]}},"postgresGID":-1,"postgresUID":-1,"postgresql":{"ldap":{},"parameters":{"hot_standby_feedback":"on","max_slot_wal_keep_size":"2000MB","shared_buffers":"128MB"},"pg_hba":[],"pg_ident":[],"shared_preload_libraries":[],"synchronous":{}},"primaryUpdateMethod":"switchover","primaryUpdateStrategy":"unsupervised","priorityClassName":"","resources":{"limits":{"hugepages-2Mi":"256Mi"},"requests":{"cpu":"20m","memory":"150Mi"}},"roles":[],"serviceAccountTemplate":{},"services":{},"storage":{"size":"10Gi","storageClass":"local-path"},"superuserSecret":"","walStorage":{"enabled":true,"size":"2Gi","storageClass":"local-path"}}` | Cluster settings | | cluster.affinity | object | `{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"}` | Affinity/Anti-affinity rules for Pods. See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration | | cluster.certificates | object | `{}` | The configuration for the CA and related certificates. See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-CertificatesConfiguration | | cluster.enablePDB | bool | `true` | Allow to disable PDB, mainly useful for upgrade of single-instance clusters or development purposes See: https://cloudnative-pg.io/documentation/current/kubernetes_upgrade/#pod-disruption-budgets | @@ -54,7 +54,7 @@ Cloudnative-pg Cluster | cluster.postgresql.synchronous | object | `{}` | Quorum-based Synchronous Replication | | cluster.primaryUpdateMethod | string | `"switchover"` | Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated. It can be switchover (default) or restart. | | cluster.primaryUpdateStrategy | string | `"unsupervised"` | Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated: it can be automated (unsupervised - default) or manual (supervised) | -| cluster.resources | object | `{"limits":{"hugepages-2Mi":"256Mi"},"requests":{"cpu":"100m","memory":"256Mi"}}` | Resources requirements of every generated Pod. Please refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ for more information. We strongly advise you use the same setting for limits and requests so that your cluster pods are given a Guaranteed QoS. See: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/ | +| cluster.resources | object | `{"limits":{"hugepages-2Mi":"256Mi"},"requests":{"cpu":"20m","memory":"150Mi"}}` | Resources requirements of every generated Pod. Please refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ for more information. We strongly advise you use the same setting for limits and requests so that your cluster pods are given a Guaranteed QoS. See: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/ | | cluster.roles | list | `[]` | This feature enables declarative management of existing roles, as well as the creation of new roles if they are not already present in the database. See: https://cloudnative-pg.io/documentation/current/declarative_role_management/ | | cluster.serviceAccountTemplate | object | `{}` | Configure the metadata of the generated service account | | cluster.services | object | `{}` | Customization of service definitions. Please refer to https://cloudnative-pg.io/documentation/current/service_management/ | diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 938fae5..88e407e 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -56,8 +56,8 @@ cluster: # See: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/ resources: requests: - memory: 256Mi - cpu: 100m + memory: 150Mi + cpu: 20m limits: hugepages-2Mi: 256Mi diff --git a/charts/valkey/Chart.yaml b/charts/valkey/Chart.yaml index d379152..e6f399a 100644 --- a/charts/valkey/Chart.yaml +++ b/charts/valkey/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: valkey -version: 0.4.0 +version: 0.5.0 description: Valkey chart with preconfigured settings keywords: - valkey diff --git a/charts/valkey/README.md b/charts/valkey/README.md index 673e563..ebde1a6 100644 --- a/charts/valkey/README.md +++ b/charts/valkey/README.md @@ -1,6 +1,6 @@ # valkey -![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![AppVersion: 9.0.3](https://img.shields.io/badge/AppVersion-9.0.3-informational?style=flat-square) +![Version: 0.5.0](https://img.shields.io/badge/Version-0.5.0-informational?style=flat-square) ![AppVersion: 9.0.3](https://img.shields.io/badge/AppVersion-9.0.3-informational?style=flat-square) Valkey chart with preconfigured settings @@ -37,8 +37,8 @@ Valkey chart with preconfigured settings | valkey.metrics.exporter.image.registry | string | `"ghcr.io"` | | | valkey.metrics.exporter.image.repository | string | `"oliver006/redis_exporter"` | | | valkey.metrics.exporter.image.tag | string | `"v1.82.0"` | | -| valkey.metrics.exporter.resources.requests.cpu | string | `"10m"` | | -| valkey.metrics.exporter.resources.requests.memory | string | `"64M"` | | +| valkey.metrics.exporter.resources.requests.cpu | string | `"1m"` | | +| valkey.metrics.exporter.resources.requests.memory | string | `"10M"` | | | valkey.metrics.podMonitor.enabled | bool | `true` | | | valkey.metrics.prometheusRule.enabled | bool | `true` | | | valkey.metrics.prometheusRule.rules[0].alert | string | `"ValkeyDown"` | | @@ -67,7 +67,7 @@ Valkey chart with preconfigured settings | valkey.replica.persistence.storageClass | string | `"ceph-block"` | | | valkey.replica.replicas | int | `2` | | | valkey.resources.requests.cpu | string | `"10m"` | | -| valkey.resources.requests.memory | string | `"128Mi"` | | +| valkey.resources.requests.memory | string | `"20Mi"` | | | valkey.serviceAccount.create | bool | `true` | | ---------------------------------------------- diff --git a/charts/valkey/values.yaml b/charts/valkey/values.yaml index c8959da..0ac6504 100644 --- a/charts/valkey/values.yaml +++ b/charts/valkey/values.yaml @@ -9,7 +9,7 @@ valkey: resources: requests: cpu: 10m - memory: 128Mi + memory: 20Mi dataStorage: enabled: true requestedSize: 1Gi @@ -34,8 +34,8 @@ valkey: tag: v1.82.0 resources: requests: - cpu: 10m - memory: 64M + cpu: 1m + memory: 10M serviceMonitor: enabled: true podMonitor: