Click shows pod in 'terminating' phase when kubectl shows 'unknown'
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
Start by reading phase_str in src/cmd.rs around line 247 and compare its deletion-timestamp handling with the pod phase reported by kubectl. Done means a pod whose kubectl phase is unknown is shown as "unknown" rather than "Terminating", while the existing terminating behavior remains accurate for applicable pods.
Written by the indexing model from the issue text.
Description
When debugging a kubernetes issue using click, the phase for a pod was reported as "Terminating" when kubectl showed "unknown".
When debugging kubernetes issues, I prefer the most detailed info possible, so IMO it could be helpful to show the more precise "unknown" phase for the pod if possible.
The current behavior appears to be happening because click shows "Terminating" for any pod with a deletion timestamp. See phase_str.
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from databricks/click
-
ClickOpen
Difficulty 5/5 Over a week Newbie friendliness 15/100
databricks/click#237 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
databricks/click#234 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
databricks/click#233 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
databricks/click#227 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
databricks/click#218 · 7 comments ·
All issues in databricks/click
Similar issues
-
enhancement feature review: low Sonnet ui
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
MMFoundation/WallpaperMachine#190 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
servo/rust-smallvec#877 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cloudflare/workers-rs#1140 ·
Maintainers usually reply within 7 days
-
A-documentation S-needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Quantinuum/hugr#3344 ·
Maintainers usually reply within 1 day
-
P4
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
HerringtonDarkholme/hd-lang#1718 · 1 comment ·
Maintainers usually reply within 1 day