redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.59k stars 584 forks source link

K8s operator does not correctly scale down a cluster #1739

Closed shribe closed 1 year ago

shribe commented 3 years ago

In 26.4.1

RafalKorepta commented 3 years ago

Redpanda don't support scale down plus our webhook prevents from scaling down. Our newer version prevents from scaling down.

REF: https://github.com/vectorizedio/redpanda/blob/0a7d76359befb7763ca7274543ca5ca1c69504b5/src/go/k8s/apis/redpanda/v1alpha1/cluster_webhook.go#L88-L93

shribe commented 3 years ago

OK, I did this via kubectl apply..., in version 21.6.4.

emaxerrno commented 3 years ago

1591 and #1654 and #1710 and #1695 allows us to scale down next. most of them are merged, so @RafalKorepta this is a valid tix.