Repository navigation
feat(kubernetes): surface pod scheduling status - #4907
ericcurtin wants to merge 2 commits into
Conversation
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
|
@TaylorMutch PTAL, and |
|
@krishicks @matthewgrossman PTAL when you get a chance, and |
|
/ok to test 07bfc86 |
|
Could we restrict the raw Kubernetes scheduler message to OpenShell admins and expose a generic scheduling status to end users? In a shared deployment, sandbox users may not be authorized to inspect the underlying cluster. Scheduler diagnostics can reveal node counts, resource constraints, taints, and placement details. This change copies the raw message into sandbox status, making that infrastructure information available through the user-facing API. The Some raw diagnostics already reach users through platform events, but making them persistently available in sandbox status expands that exposure. A generic message such as “Waiting for cluster capacity or a compatible node” would preserve useful progress feedback for end users, while OpenShell admins could retain access to the full diagnostic. Can we establish that separation before landing this? |
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
|
@TaylorMutch done: sandbox status and progress detail now show a generic "Waiting for cluster capacity or a compatible node"; the raw scheduler message stays in gateway logs. Could you /ok to test cb4ab29? Thank you! |
|
/ok to test cb4ab29 |
Summary
Show why a Kubernetes sandbox pod is unscheduled.
Related Issue
Closes #4746
Changes
FailedSchedulingevents to a generic create progress detail.PodScheduled=False(Unschedulable) in sandbox status while not Ready, with a generic message.Testing
cargo test,cargo clippy -D warningsandcargo fmt --checkonopenshell-driver-kubernetes.Checklist