rabbitmq-statefulset
rabbitmq-statefulset copied to clipboard
StatefulSet in version "v1beta1" cannot be handled as a StatefulSet
Hello, i'm getting
StatefulSet in version "v1beta1" cannot be handled as a StatefulSet
when trying to do helm upgrade -i rmq --set environment=production --namespace=inra charts/rabbitmq/
on my kubernetes 1.8.4 with helm 2.6.2
try this: apiVersion: apps/v1beta2
Found an error: unable to parse quantity's suffix, parsing 1057 ...y":"100mi"... at
After removing removing limits i'm getting:
Error: UPGRADE FAILED: failed to create resource: StatefulSet.apps "rmq" is invalid: [spec.selector: Required value, spec.template.metadata.labels: Invalid value: map[string]string{"app":"rmq"}: `selector` does not match template `labels`]
Can you install https://github.com/technosophos/helm-template and see what's the output of the statefulset definition?
Thanks! I'l try and report here.
@pastukhov have you figured out the solution? I just pushed a new version to master tested it yesterday on GKE and it worked.
I'l try. Now i'm first day after a vacations.
Let me know. Also if it helps I wrote a blog post about it here: https://plugaru.org/2018/01/02/rabbitmq-celery-kubernetes-ha/
I had the same issue. Finaly, the issue was coming from a malformed yaml ( in my case a memory limit with 100mi instead of 100Mi) It had nothing to do with the statefulset.