-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: video recording with pluggable upload container #1881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, and is very similar to the idea I had, to use sidecars. What I was not able to point out is how do we stop the video container before the upload? The process needs to be stopped gracefully to avoid corrupting the video.
Here docker-selenium/charts/selenium-grid/templates/video-cm.yaml Lines 71 to 75 in aba2fc1
So when a recording is in progress, but the selenium node isn't reporting any session is in progress a signal is sent to ffmpeg to stop recording ( |
Hello Guys, |
I thought this was still on draft and you were working on it @msvticket. Can you please fix the conflicts and then I can review it. |
And I were waiting for comments from you ;-) |
@msvticket |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @msvticket!
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
This PR adds support for 2 sidecars to the browser nodes that
This PR is inspired by #1715, but having a separate container for upload makes it possible to support new upload mechanisms without having to change the video image.
Another difference from #1715 is that the sidecars exit when the browser node exists, making them suitable for jobs and not only deployments.
Motivation and Context
While an image for video recording is available no support is available for Kubernetes through in the helm chart.
Types of changes
Checklist