From 5b9fdc79059d092c0a1ec687317750377bbc9b3b Mon Sep 17 00:00:00 2001 From: Adrian Gonciarz Date: Mon, 23 May 2022 15:03:33 +0200 Subject: [PATCH] Feat: Update readme for Helm Charts (#1578) * fix: update addres to Helm Readme from the main Readme * feat: update Helm Charts Readme * fix: update comments in readme [skip ci] --- README.md | 2 +- charts/selenium-grid/README.md | 23 ++++++++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bf3937e94..b70bf8b55 100644 --- a/README.md +++ b/README.md @@ -567,7 +567,7 @@ ___ ## Deploying to Kubernetes We offer a Helm chart to deploy these Docker images to Kubernetes. -Read more details at the Helm [readme](./chart/selenium-grid/README.md). +Read more details at the Helm [readme](./charts/selenium-grid/README.md). ___ diff --git a/charts/selenium-grid/README.md b/charts/selenium-grid/README.md index ce703e452..759c427e7 100644 --- a/charts/selenium-grid/README.md +++ b/charts/selenium-grid/README.md @@ -4,17 +4,26 @@ This chart enables the creation of a Selenium Grid Server in Kubernetes. ## Installing the chart -To install the selenium-grid helm chart, you can run: +If you want to install the latest master version of Selenium Grid onto your cluster you can do that by using the helm charts repository located at https://www.selenium.dev/docker-selenium. ```bash -# Clone the project -git clone https://github.com/seleniumhq/docker-selenium.git +# Add docker-selenium helm repository +helm repo add docker-selenium https://www.selenium.dev/docker-selenium -# Install basic grid -helm install selenium-grid docker-selenium/chart/selenium-grid/. +# Update charts from docker-selenium repo +helm repo update + +# List all versions present in the docker-selenium repo +helm search repo docker-selenium --versions + +# Install basic grid latest version +helm install selenium-grid docker-selenium/selenium-grid # Or install full grid (Router, Distributor, EventBus, SessionMap and SessionQueue components separated) -helm install selenium-grid --set isolateComponents=true docker-selenium/chart/selenium-grid/. +helm install selenium-grid docker-selenium/selenium-grid --set isolateComponents=true + +# Or install specified version +helm install selenium-grid docker-selenium/selenium-grid --version 0.3.0 ``` ## Updating Selenium-Grid release @@ -22,7 +31,7 @@ helm install selenium-grid --set isolateComponents=true docker-selenium/chart/se Once you have a new chart version, you can update your selenium-grid running: ```bash -helm upgrade selenium-grid docker-selenium/chart/selenium-grid/. +helm upgrade selenium-grid docker-selenium/selenium-grid ``` ## Uninstalling Selenium Grid release