Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit 0b506f6

Browse files
Merge branch 'trunk' of https://github.com/SeleniumHQ/docker-selenium into trunk
2 parents bd3df31 + 440537d commit 0b506f6

29 files changed

+1564
-571
lines changed

.github/workflows/k8s-deploy-test.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -567,23 +567,9 @@ After running a test, check the path you mounted to the Docker container,
567567
___
568568

569569
## Deploying to Kubernetes
570-
Here are the steps to deploy the Grid 4 to a Kubernetes cluster.
571-
``` bash
572-
# Deploying all the grid components to kubernetes
573-
$ kubectl apply -f k8s-deployment-full-grid.yaml
574-
575-
# Exposing the router
576-
$ kubectl expose deployment selenium-router-deployment --type=NodePort --port=4444
577-
578-
# Get the router URL to access the grid from outside K8s cluster
579-
$ minikube service selenium-router-deployment --url
580-
581-
# To list all the Grid componenets
582-
$ kubectl get all -l component=selenium-grid-4
583-
```
584570

585-
Check out [the Kubernetes examples](https://github.com/kubernetes/examples/tree/master/staging/selenium)
586-
on how to deploy selenium hub and nodes on a Kubernetes cluster.
571+
We offer a Helm chart to deploy these Docker images to Kubernetes.
572+
Read more details at the Helm [readme](./chart/selenium-grid/README.md).
587573

588574
___
589575

chart/selenium-grid/.helmignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

chart/selenium-grid/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Change Log
2+
3+
All notable changes to this helm chart will be documented in this file.
4+
5+
## :heavy_check_mark: 0.3.0
6+
7+
### Added
8+
- Support for Edge nodes.
9+
- Support for `nodeSelector`.
10+
- Support for `tolerations`.
11+
- Allow to add additional labels to the hub, edge, firefox and chrome nodes.
12+
- Fix queue component name (#1290)
13+
14+
### Changed
15+
- Update image tag to 4.1.2-20220217
16+
17+
### Removed
18+
- Opera nodes
19+
20+
## :heavy_check_mark: 0.2.0
21+
22+
### Added
23+
- `CHANGELOG.md`
24+
25+
### Changed
26+
- Added `global` block to be able to specify component's image tag globally.
27+
- DSHM's volume size customizable.
28+
- Service type and service annotations are now customizable.
29+
30+
### Fixed
31+
- Services won't be created if nodes are disabled.
32+
33+
## :heavy_check_mark: 0.1.0
34+
35+
### Added
36+
- Selenium grid components separated.
37+
- Selenium Hub server.
38+
- Chrome, Opera and Firefox nodes.

chart/selenium-grid/Chart.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v2
2+
name: selenium-grid
3+
description: A Helm chart for creating a Selenium grid server in Kubernetes
4+
type: application
5+
version: 0.3.0
6+
appVersion: 4.1.2-20220217

0 commit comments

Comments
 (0)