pingcap / pingcap/tidb-operator
Operator is broken for K8s v1.28 and later
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 540
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 18
Description
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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The affected template is charts/tidb-operator/templates/config/_scheduler-config-yaml.tpl; start by checking the scheduler configuration API version used there and the Kubernetes version that replaces v1beta2. Update the generated configuration so it no longer uses the removed version and verify that it is valid for Kubernetes v1.28 and later.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100