Skip to main content

Kubernetes

Namespace setup

First, create a namespace for the Selebrow service deployment:

kubectl create ns selebrow

You can skip this step by providing the --create-namespace flag with the helm install command later

By default, Selebrow will create browser pods in its own namespace. However, if you prefer, you can create a separate namespace for the browser pods:

kubectl create ns browsers

When installing the Selebrow Helm chart, pass the --set selebrow.namespace=browsers parameter to use a separate namespace.

Installing the Helm chart

Add the Selebrow Helm repository:

helm repo add selebrow https://selebrow.github.io/selebrow/selebrow

You can preview available chart values by running the following command:

helm show values selebrow/selebrow 

Install the Selebrow chart into the previously created namespace, providing any additional values as needed. For example:

helm install selebrow selebrow/selebrow -n selebrow \
--set ingress.enabled=true \
--set selebrow.namespace=browsers \
--set templateValues.browser.env.TZ=America/Chicago