Skip to content

Export Prometheus metrics when executing a job #1161

Answered by rustatian
Baiquette asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Baiquette 👋🏻. RR accepts SIGINT or SIGTERM syscalls to stop. On the stop, k8s will send these signals to the pod with RR, and RR will stop itself. So, you don't need any additional commands. After receiving SIGINT/SIGTERM RR will gracefully stop all active plugins. To manage the graceful timeout, you may set this configuration option: https://github.com/roadrunner-server/roadrunner/blob/master/.rr.yaml#L1596

EDIT: ./rr stop will land in the v2.10.3.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Baiquette
Comment options

@rustatian
Comment options

@rustatian
Comment options

@Baiquette
Comment options

@rustatian
Comment options

Answer selected by rustatian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
R-question Question
2 participants