Open artificial-aidan opened 1 year ago
Same on operator version 0.14.0
Using the HelmChart we need to specify manually the three labels in values:
redis-replication:
enabled: true
storageSpec:
volumeClaimTemplate:
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 1Gi
labels:
app: "redis-replication"
app.kubernetes.io/component: "redis"
app.kubernetes.io/name: "redis-replication"
still facing issue.. not able to resize PVC. When will this bug gets fixed.. @shubham-cmyk ?
What version of redis operator are you using?
redis-operator version: 0.13.1
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
kubectl version
)?kubectl version
OutputWhen a PVC is resized, the operator looks for it based on a set of labels that are not guaranteed to be attached to the volume.
But the labels that are attached to the pvc are as follows
This leads to pvcs not being resized by default.
You can workaround it by setting the labels of the whole redis deployment to match. But it would make more sense to set the proper label on creation time.