Open diptripa opened 1 year ago
Hi! I had the same error and had to replace securityContext
with podSecurityContext
I'm also facing the issue since updating the operator version:
Warning FailedCreate 3s (x12 over 13s) statefulset-controller create Claim node-conf-redis-leader-0 for Pod redis-leader-0 in StatefulSet redis-leader failed error: PersistentVolumeClaim "node-conf-redis-leader-0" is invalid: spec.resources[storage]: Required value Warning FailedCreate 3s (x12 over 13s) statefulset-controller create Pod redis-leader-0 in StatefulSet redis-leader failed error: failed to create PVC node-conf-redis-leader-0: PersistentVolumeClaim "node-conf-redis-leader-0" is invalid: spec.resources[storage]: Required value
Any suggestions?
What version of redis operator are you using? 0.15
redis-operator version: 0.15
Does this issue reproduce with the latest release? It is on the latest release
What operating system and processor architecture are you using (
kubectl version
)?kubectl version
OutputWhat did you do?
Error from server (BadRequest): error when creating "Documents/POC/redis-operator/redis-cluster.yml": RedisCluster in version "v1beta1" cannot be handled as a RedisCluster: strict decoding error: unknown field "spec.securityContext"
create Claim node-conf-redis-cluster-leader-0 for Pod redis-cluster-leader-0 in StatefulSet redis-cluster-leader failed error: PersistentVolumeClaim "node-conf-redis-cluster-leader-0" is invalid: spec.resources[storage]: Required value
What did you expect to see?
Leader and follower pods to spin up.
What did you see instead? Error
Error from server (BadRequest): error when creating "Documents/POC/redis-operator/redis-cluster.yml": RedisCluster in version "v1beta1" cannot be handled as a RedisCluster: strict decoding error: unknown field "spec.securityContext"