Replies: 1 comment
-
This appears to be a bug, I've opened an issue: #880 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I delete a pod with the following code:
I observe the following:
kubectl get pods
in < 1s)pods.delete(id, &dp).await
call returns very quickly (< 100µs)What I would like to happen is for the container to be deleted immediately as well, or wait until the container is deleted.
This appears to be possible, when i run
kubectl delete pod POD
, the container similarly stays alive for 10s of seconds, but the pod object stays inTerminating
state and only disappears when the container does, andkubectl
doesn't return until the container and pod have terminated. When I runkubectl delete pod POD --grace-period=0
, both the pod and container are deleted within 1s.Are there any settings that would allow me to replicate this behavior with the kube-rs client?
Beta Was this translation helpful? Give feedback.
All reactions