mirror of
https://github.com/burakkaygusuz/selenium-4-grid-k8s-docker.git
synced 2021-06-27 00:03:24 +03:00
Some items updated
This commit is contained in:
14
README.md
14
README.md
@@ -6,7 +6,7 @@ distributed parallel testing with Selenium 4 Grid using Kubernetes and Docker.
|
||||
## Requirements
|
||||
|
||||
- This project requires [Java 11 JDK](https://adoptopenjdk.net/).
|
||||
- Install [Docker](https://www.docker.com/) for parallel testing.
|
||||
- Install [Docker](https://www.docker.com/).
|
||||
- Install [Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/), Kubernetes command-line tool. (This item
|
||||
is optional. **kubectl.exe** is added with Docker installation.)
|
||||
- Install [Minikube](https://kubernetes.io/docs/setup/learning-environment/minikube/) to run Kubernetes as locally.
|
||||
@@ -16,13 +16,21 @@ distributed parallel testing with Selenium 4 Grid using Kubernetes and Docker.
|
||||
### Deploying the Kubernetes
|
||||
|
||||
```shell
|
||||
# Configure the vm-driver
|
||||
$ minikube config set vm-driver '<vm-driver-name>'
|
||||
|
||||
# Deploying all the grid components to kubernetes
|
||||
# Start minikube with configured CPU & memory
|
||||
$ minikube start --cpus 4 --memory 8192
|
||||
|
||||
# Deploy all the grid components to kubernetes
|
||||
$ kubectl apply -f deploy.yml
|
||||
|
||||
# Exposing the router
|
||||
# Expose the router
|
||||
$ kubectl expose deployment selenium-router-deployment --type=NodePort --port=4444
|
||||
|
||||
# Get the router URL to access the grid from outside K8s cluster
|
||||
$ minikube service selenium-router-deployment --url
|
||||
|
||||
## To access the dashboard
|
||||
$ minikube dashboard
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user