k9s/internal
jfremy-openai 41acad343b
fix: consider readinessGates + ready condition in diagnose (#3556)
* Consider readinessGates + ready condition in diagnose

Now that readiness gates are supported, those should be considered when displaying a pod healthiness

Additionally consider the pod ready condition status. It should match the && of the containers' ready condition and readiness gates but I've actually observed that in some cases, it can be false with the containers reporting ready true.

* Update pod.go

* Update pod.go

fix lint

* Update pod.go

lint

* add tests for diagnose and readinessGateStats

* lint error
2025-10-05 08:38:03 -06:00
..
client Rel v0.50.13 (#3592) 2025-09-27 09:16:36 -06:00
color Rel v0.50.0 (#3254) 2025-04-08 23:40:34 -06:00
config Rel v0.50.13 (#3592) 2025-09-27 09:16:36 -06:00
dao Rel v0.50.13 (#3592) 2025-09-27 09:16:36 -06:00
health Rel v0.50.0 (#3254) 2025-04-08 23:40:34 -06:00
model Rel v0.50.12 (#3572) 2025-09-19 08:36:53 -06:00
model1 Rel v0.50.6 (#3338) 2025-05-11 23:16:37 -06:00
perf Rel v0.50.3 (#3276) 2025-04-13 18:25:04 -06:00
port Rel v0.50.10 (#3564) 2025-09-17 16:49:58 -06:00
render fix: consider readinessGates + ready condition in diagnose (#3556) 2025-10-05 08:38:03 -06:00
slogs Rel v0.50.10 (#3564) 2025-09-17 16:49:58 -06:00
tchart Rel v0.50.5 (#3332) 2025-05-07 23:22:01 -06:00
ui Rel v0.50.10 (#3564) 2025-09-17 16:49:58 -06:00
view fix: do not error out of shellIn if OS detection fails, and default platform on linux (#3600) 2025-10-05 08:09:25 -06:00
vul Rel v0.50.10 (#3564) 2025-09-17 16:49:58 -06:00
watch Rel v0.50.12 (#3572) 2025-09-19 08:36:53 -06:00
xray Rel v0.50.7 (#3436) 2025-07-05 10:36:36 -06:00
helpers.go Rel v0.50.0 (#3254) 2025-04-08 23:40:34 -06:00
helpers_test.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
keys.go K9s Release v0.29.0 (#2326) 2023-12-06 23:12:39 -07:00
pool.go Rel v0.50.0 (#3254) 2025-04-08 23:40:34 -06:00
pool_test.go Rel v0.50.0 (#3254) 2025-04-08 23:40:34 -06:00