tidb-operator icon indicating copy to clipboard operation
tidb-operator copied to clipboard

Operator is broken for K8s v1.28 and later

Open emchristiansen opened this issue 2 years ago • 1 comments

apiVersion: kubescheduler.config.k8s.io/v1beta2 was removed in v1.28.

But, the current code uses it here: https://github.com/pingcap/tidb-operator/blob/7cb46a152bde1bee61409a91c64a638156b423ae/charts/tidb-operator/templates/config/_scheduler-config-yaml.tpl#L2

So, please bump the version!

emchristiansen avatar Dec 14 '23 00:12 emchristiansen

you could skip the deployment of tidb-scheduler (with .scheduler.create=false) to workaround this, also ref #5458.

csuzhangxc avatar Dec 14 '23 01:12 csuzhangxc