Open michaelarnauts opened 1 year ago
I had to go over all recent merge request to find out that a nodeConfVolumeClaimTemplate
had been added.
The YAML template when adding a RedisCluster isn't updated. Also using an existing manifest that works fine in 0.14 doesn't work anymore in 0.15. I think more time should be taken to make sure clusters don't break when the operator is updated.
I had to modify the spec.kubernetesConfig.image
to quay.io/opstree/redis:v7.0.11
and also add the nodeConfVolumeClaimTemplate
node to spec.storage
:
nodeConfVolumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
@michaelarnauts Is it fixed now ?
There were few breaking change in the v0.15.0.
@michaelarnauts Is it fixed now ?
There were few breaking change in the v0.15.0.
I got it to work with the changes I mentioned above. The template that is shown when adding a RedisCluster should still be modified though, since the current outdated one doesn't work and is confusing.
Can you mention which manifest is not updated? Since I did updated all the examples. If there is some left
Not sure where it's stored. It's the template that is shown when adding a RedisCluster trough the webinterface of OpenShift. Maybe it's packaged together when it's pushed to the "Operator store"?
I think the problem might be related to the schema which doesn't specify a default value. When this was modified to be configurable, the default values should have been defined to what was actually defined as code in order not to break 0.14.0 compatible versions.
Is there any updates about this bug? When will 0.16.0 version be released?
up
What version of redis operator are you using?
redis-operator version: 0.15
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
kubectl version
)?Client Version: 4.11.0-202212070335.p0.g1928ac4.assembly.stream-1928ac4 Kustomize Version: v4.5.4 Kubernetes Version: v1.25.10+8c21020
What did you do?
Upgraded to Operator 0.15, created a new RedisCluster as before.
What did you expect to see?
Everything works
What did you see instead?
The cluster doesn't start. A redis-leader statefullset is created. When inspecting the YAML, you can see this definition that doesn't contain a resources config.
The StatefullSet is complaining about this:
Manually modifying the YAML isn't supported, I get the error: