Comments (6)
Hi!
Did you try master.persistence.labels and replica.persistence.labels?
from charts.
Hi all, thanks for the help.
I will give you some context: I use the Redis Sentinel setup, here is the replica.persistence and sentinel sections of my values.yaml
:
replica:
replicaCount: 3
persistence:
storageClass: "gp3-retain"
## @param replica.persistence.accessModes Persistent Volume access modes
##
accessModes:
- ReadWriteOnce
## @param replica.persistence.size Persistent Volume size
##
size: 8Gi
## @param replica.persistence.labels Additional custom labels for the PVC
##
labels:
snapshotScheduler: enabled
resources:
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 100Mi
sentinel:
enabled: true
image:
repository: bitnami/redis-sentinel
tag: 7.2.4-debian-11-r3
## Enable debug mode
##
debug: false
downAfterMilliseconds: 30000
failoverTimeout: 120000
## @param sentinel.masterSet Master set name
##
masterSet: master
resources:
limits:
memory: 500Mi
requests:
cpu: 100m
memory: 100Mi
I attempted to utilize the commonLabels
but it did not function as expected: the labels were not successfully added to the PVC. Furthermore, this approach does not appear to be an optimal or clean solution.
from charts.
Hi!
I see the issue. In sentinel/statefulset.yaml I see that the labels section is not set
kind: PersistentVolumeClaim
metadata:
name: redis-data
labels: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 10 }}
app.kubernetes.io/component: node
It should be
kind: PersistentVolumeClaim
metadata:
name: redis-data
{{- $claimLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.replica.persistence.labels .Values.commonLabels ) "context" . ) }}
labels: {{- include "common.labels.matchLabels" ( dict "customLabels" $claimLabels "context" $ ) | nindent 10 }}
app.kubernetes.io/component: node
Would you like to submit a PR updating the file?
from charts.
Aren't these thrown away in matchLabels? Is matchLabels the correct function here? It is not used in a match context.
from charts.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
from charts.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
from charts.
Related Issues (20)
- [bitnami/redis] json schema too strict for any template-able value HOT 1
- [bitnami/thanos] Thanos ruler don't support TLS on grpc HOT 1
- [bitnami/kube-prometheus] generates invalid spec yaml if there is imagePullSecrets HOT 2
- [bitnami/odoo] Container can't produce any pdf for invoicing. Missing library/program inside container. HOT 2
- [bitnami/keydb] Add support for cluster mode for keydb HOT 2
- PostgreSQL reports could not receive data from client: Connection reset by peer HOT 2
- [bitnami/kafka] kafka exporter has no nodeSelector HOT 4
- [bitnami/opensearch] Can't install plugins HOT 3
- [bitnami/keycloak] Hit REFRESH_TOKEN_ERROR error after upgrade from bitnami/keycloak 21.0.0 to 22.2.5 HOT 1
- Setting keycloak proxy headers is broken HOT 3
- [mimir] uploading new block to long-term storage failed <...> mkdir /opt/bitnami/grafana-mimir/blocks: read-only file system HOT 1
- [bitnami][clickhouse] User's custom init/start script does not correctly initialized when ClickHouse start HOT 3
- [harbor] Trivy response very slow in resourcesPreset: nano HOT 1
- [bitnami/opensearch]: Replace open.co links with opensearch.org HOT 1
- [bitnami/contour] envoy service name change leads to empty status.loadBalancer field in Ingress-resource HOT 1
- Data is stored for a maximum of 2 hours HOT 1
- [bitnami/common] `common.tplvalues.merge` ignores precedence on falsy values
- [bitnami/kafka] Enable configuration for StatefulSet revisionHistoryLimit HOT 2
- [bitnami/postgresql] How to enable FIPS on postgresql bitnami chart? HOT 1
- Ingress does not handle encoded characters (%2F) correctly for RabbitMQ management console in paths like (/queues/%2F/<any-queue>)and (/extensions/%2F/<any-extension>)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.