How does runpod handle pod terminating

It is very likely that runpod simply sends a sigkill to the main container process. This is really annoying when you are trying to handle termination. Could you please provide information on how your orche system handles pod termination and how I can get the OS signal
16 Replies
nevermind
nevermind2mo ago
Just to mention: kubernetes sends SIGTERM It is crucial for us, because of LLM streaming. We wanna utilize some big GPUs, but it is not really possible, because any progressing stream will be terminated no matter what 😦
nerdylive
nerdylive5w ago
On Spots? What do you mean it will be terminated no matter what?, when you rent an on demand pods, it wont be terminated until its stopped i believe
nevermind
nevermind5w ago
Yes, it is, but while stream is in the progress - it would be dropped without any graceful period. My point is that the pod should have a graceful period instead of an instant sigkill
nerdylive
nerdylive5w ago
in spot or on demand?
nevermind
nevermind5w ago
on demand
nerdylive
nerdylive5w ago
The pod dies -> stream dies is that what you mean, i still don't get what you mean. what were you hoping for then?
nevermind
nevermind5w ago
yeah you right
nerdylive
nerdylive5w ago
alright what are you hoping it to be
nevermind
nevermind5w ago
for a graceful minute
nerdylive
nerdylive5w ago
pod dies -> pod still alive for a minute -> pod dies?
nevermind
nevermind5w ago
pod receives termination -> sigterm -> 1min alive (graceful period) -> pod sends sigkill and dies
nerdylive
nerdylive5w ago
oh why should it be like that, just shut down your program manually and terminate the pod right? or terminate after your streams is finished
nevermind
nevermind5w ago
Because kubernetes does that way and it allows pod to handle graceful term, instead of instant annihillation (runpod does that way)
nerdylive
nerdylive5w ago
yes because after the pod stops, it stops charging you, isn't that how other cloud supposed to work? sorry im still trying to understand what your use case is but if you want you can directly write a #🧐|feedback
nevermind
nevermind5w ago
I appreciate your advice, I'll send it as feedback tho
Want results from more Discord servers?
Add your server