databricks / click

The "Command Line Interactive Controller for Kubernetes"
Apache License 2.0
1.49k stars 84 forks source link

Click shows pod in 'terminating' phase when kubectl shows 'unknown' #83

Open mikehuston opened 5 years ago

mikehuston commented 5 years ago

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.