2 years ago
I have a nodejs runtime that is running as a deployment, but after it finishes executing the deployment is still active. It is also still using memory i think. Is there a good way to make sure its not running? Logs say "container event container died" but i want to make sure its not charging me.
8 Replies
2 years ago
808d69ee-f688-4ec9-b90d-0be6af1aa4a0
2 years ago
that deployment is not a cron job, thats a regular deployment
2 years ago
good catch. Is it safe to say that its stopped and no longer using resources?
2 years ago
nope, you can not trust the state as listed on the deployment, for example, it says completed, but its still handling requests -

2 years ago
a surefire way to know would be to look for a container event log -
container event container died2 years ago
gotcha
2 years ago
preciate it
2 years ago
no problem!