pingcap / pingcap/tidb-operator

There is no curl command after tidb 4.0.9 version image.

Open
#4,764 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.3k
Forks
540
Avg merge
3d 2h
Merged PRs (30d)
18

Description

Bug Report

What did you do?
I want to add readiness configuration into pd and tikv pod , then i found there is no curl command after tidb 4.0.9 version image or later.

Ref:
https://github.com/pingcap/tidb-operator/blob/8edb4b6ba41a4b55aa3eb7287a64bc4618b120f3/pkg/apis/pingcap/v1alpha1/types.go#L876

I found that the facts do not match the above comments.
What did you expect to see?
There is curl command in tidb 4.0.9 or later image.
What did you see instead?
None.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced pkg/apis/pingcap/v1alpha1/types.go line 876 and compare its readiness-command assumptions with the contents of the TiDB 4.0.9 and later images. Reproduce the missing curl behavior, then verify that the documented or configured readiness command matches what those images provide.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.