Orange-OpenSource / casskop

This Kubernetes operator automates the Cassandra operations such as deploying a new rack aware cluster, adding/removing nodes, configuring the C* and JVM parameters, upgrading JVM and C* versions, and many more...
https://orange-opensource.github.io/casskop/
Apache License 2.0
183 stars 54 forks source link

Kubectl apply fails after rolling restart triggered by plugin #251

Closed fdehay closed 4 years ago

fdehay commented 4 years ago

Bug Report

What did you do?

What did you expect to see? Nothing is supposed to happen as we applied the initial yaml. We are not supposed to have an error

What did you see instead? Under which circumstances? We got the message: The cassandraclusters "cassandra-bgl" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update

Environment

Possible Solution Similar problem on other operator: https://github.com/argoproj/argo-cd/issues/3657#issuecomment-634933960

Seems not to come from the operator but likely the plugin