browserless-chrome

by sagikazarmark

Helm chartv0.0.5App 1.48.0MITVerified publisher

Chrome as a service container. Bring your own hardware or cloud.

About this chart

browserless-chrome

Chrome as a service container. Bring your own hardware or cloud.

Homepage: https://www.browserless.io/

TL;DR;

helm repo add skm https://charts.sagikazarmark.dev
helm install --generate-name --wait skm/browserless-chrome

Configuration

Browserless can be configured via environment variables:

env:
    PREBOOT_CHROME: "true"

Check out the official documentation for the available options.

Values

KeyTypeDefaultDescription
replicaCountint1Number of replicas (pods) to launch.
image.repositorystring"browserless/chrome"Name of the image repository to pull the container image from.
image.pullPolicystring"IfNotPresent"Image pull policy for updating already existing images on a node.
image.tagstring""Image tag override for the default value (chart appVersion).
imagePullSecretslist[]Reference to one or more secrets to be used when pulling images (from private registries).
nameOverridestring""A name in place of the chart name for app: labels.
fullnameOverridestring""A name to substitute for the full names of resources.
volumeslist[]Additional storage volumes. See the API reference for details.
volumeMountslist[]Additional volume mounts. See the API reference for details.
envFromlist[]Additional environment variables mounted from secrets or config maps. See the API reference for details.
envobject{}Additional environment variables passed directly to containers. See the API reference for details.
serviceAccount.createbooltrueEnable service account creation.
serviceAccount.annotationsobject{}Annotations to be added to the service account.
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
podAnnotationsobject{}Annotations to be added to pods.
podLabelsobject{}Labels to be added to pods.
podSecurityContextobject{}Pod security context. See the API reference for details.
securityContextobject{}Container security context. See the API reference for details.
service.annotationsobject{}Annotations to be added to the service.
service.typestring"ClusterIP"Kubernetes service type.
service.loadBalancerIPstringnilOnly applies when the service type is LoadBalancer. Load balancer will get created with the IP specified in this field.
service.loadBalancerSourceRangeslist[]If specified (and supported by the cloud provider), traffic through the load balancer will be restricted to the specified client IPs. Valid values are IP CIDR blocks.
service.portint80Service port.
service.nodePortintnilService node port (when applicable).
service.externalTrafficPolicystringnilRoute external traffic to node-local or cluster-wide endoints. Useful for preserving the client source IP.
resourcesobjectNo requests or limits.Container resource requests and limits. See the API reference for details.
autoscalingobjectDisabled by default.Autoscaling configuration (see values.yaml for details).
nodeSelectorobject{}Node selector configuration.
tolerationslist[]Tolerations for node taints. See the API reference for details.
affinityobject{}Affinity configuration. See the API reference for details.

Deploy browserless-chrome with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has browserless-chrome on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartbrowserless-chrome is pinned at v0.0.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply