BrightSide is a simple stateless service for running browser containers in Kubernetes. It can be used as a Selenium grid replacement as a part of your testing infrastructure.
pip install -r requirements.txt
python app.py
- Deploy Brightside pod to your Kubernetes cluster.
kubectl apply -f src/platforms/k8s/deployments/brightside.yaml
- Create a service for Brightside pod or connect to it from the inside of the cluster.
docker run -it --rm -p 4444:4444 -v //var/run/docker.sock:/var/run/docker.sock --name brightside vikmaksimenko/brightside:0.1 --platform docker --host $YOUR_HOST_OR_IP
Right now, it supports only standalone-chrome. TBD
- Error handling
- Browser images
- Tests
- Helm chart
Feel free to contribute by creating issues and pull requests. That's my pet project, so I'm not sure how much time I can spend on it, but I'll do my best to review and merge your PRs.