sockpuppetbrowser
by zekker6
A Helm chart for sockpuppetbrowser - a headless browser service
About this chart
sockpuppetbrowser
A Helm chart for sockpuppetbrowser - a headless browser service
This chart is not maintained by the upstream project and any issues with the chart should be raised here
This chart is useful a dependency for the changedetection.io chart. Unfortunately the sockpuppetbrowser is not released using container tags so we are forced to use the latest tag. There's an issue with a request to address this here.
This the container is configured to have SYS_ADMIN capabilities! You can use seccomp instead to limit the capabilities of the container. See https://github.com/jlandure/alpine-chrome?tab=readme-ov-file#-the-best-with-seccomp for more information on how to configure this.
Source Code
- https://github.com/zekker6/helm-charts/tree/main/charts/apps/sockpuppetbrowser
- https://github.com/dgtlmoon/sockpuppetbrowser
Requirements
Kubernetes: >=1.16.0-0
Dependencies
| Repository | Name | Version |
|---|---|---|
| https://zekker6.github.io/helm-charts | common | 0.5.2 |
TL;DR
helm repo add zekker6 https://zekker6.github.io/helm-charts/
helm repo update
helm install sockpuppetbrowser zekker6/sockpuppetbrowser
Installing the Chart
To install the chart with the release name sockpuppetbrowser
helm install sockpuppetbrowser zekker6/sockpuppetbrowser
Uninstalling the Chart
To uninstall the sockpuppetbrowser deployment
helm uninstall sockpuppetbrowser
The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.
Configuration
Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.
Specify each parameter using the --set key=value[,key=value] argument to helm install.
helm install sockpuppetbrowser \
--set env.TZ="America/New York" \
zekker6/sockpuppetbrowser
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
helm install sockpuppetbrowser zekker6/sockpuppetbrowser -f values.yaml
N/A
Values
Important: When deploying an application Helm chart you can add more values from our common library chart here
| Key | Type | Default | Description |
|---|---|---|---|
| env.MAX_CONCURRENT_CHROME_PROCESSES | string | "10" | |
| env.SCREEN_DEPTH | string | "16" | |
| env.SCREEN_HEIGHT | string | "1024" | |
| env.SCREEN_WIDTH | string | "1920" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "dgtlmoon/sockpuppetbrowser" | |
| image.tag | string | "latest" | |
| ingress.main.enabled | bool | false | |
| persistence | object | {} | |
| securityContext.capabilities.add[0] | string | "SYS_ADMIN" | |
| service.main.ports.http.port | int | 3000 |
Older versions
A historical overview of changes can be found on ArtifactHUB
Support
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy sockpuppetbrowser with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has sockpuppetbrowser 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsockpuppetbrowser is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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