browsertrix/chart/examples/microk8s-hosted.yaml
Ilya Kreymer 82ffc0dfbc
Local Deployment Work: Support running locally + test cluster on CI (#396)
* k8s local deployment work:
- make it easier to deploy w/o ingress by setting 'local_service_port' (suggested port 30870)
- if using local minio, ensure file endpoints set to /data/ and /data/ proxies correctly to local bucket
- if not using minio, ensure file endpoints point to correct access / endpoint url.
- setup should work with docker desktop, minikube, microk8s and k3s!
- nginx chart: bump nginx memory limit to 20Mi
- nginx image: 00-default-override-resolver-config -> 00-browsertrix-nginx-init for clarity
- nginx image: use default nginx.conf, pin to nginx 1.23.2
- mongo: readd readiness probe, bump connect wait timeout (needed for ci)
- config: set superadmin username to 'admin'
- config schema: set 'name' as required 
- add sample chart values overrides:
- chart values: local-config.yaml for running locally with 'local_service_port'
- chart values: add microk8s-hosted.yaml for configuring a hosted microk8s setup
- chart values: add microk8s-ci.yaml for ci tests
- ci: remove docker swarm tests
- ci: add microk8s integration tests: launching cluster, logging in, running a crawl of example.com, downloading/checking WACZ
- bump to 1.1.0-beta.2
2022-12-02 19:58:34 -08:00

66 lines
1.5 KiB
YAML

# Hosted Config (eg. for microk8s)
# --------------------------------
#
# This config can be used to run Browsertrix Cloud hosted on a remote server.
# This requires setting the hostname and signing hostname.
#
#
# The `ingress.host` and `ingress.cert_email` and optional `signer.host` must be set below.
#
# microk8s
# --------
#
# One way to deploy this is with microk8s, which will require the following addons:
#
# microk8s enable dns ingress cert-manager hostpath-storage registry helm3
#
# run with:
#
# microk8s helm3 upgrade --install -f ./chart/values.yaml -f ./chart/examples/microk8s-hosted.yaml btrix ./chart/
#
#
# If developing locally, can override these to use images from local microk8s repository (on localhost:32000)
#
# api_image: "localhost:32000/webrecorder/browsertrix-backend:latest"
# nginx_image: "localhost:32000/webrecorder/browsertrix-frontend:latest"
# crawler_image: "localhost:32000/webrecorder/browsertrix-crawler:latest"
ingress:
# required: set host to use tls
# host: "..."
# required: set email to use tls
#cert_email: "..."
scheme: "https"
tls: true
ingress_class: "public"
# optionally, set host below to enable WACZ signing
signer:
enabled: true
# host: ...
# optionally, override default mongodb auth, used for all data storage:
#mongo_auth:
#username: root
#password: PASSWORD!
# optionally, set these to custom values
#superuser:
# set this to enable a superuser admim
# email: admin@example.com
# optional: if not set, automatically generated
# change or remove this
# password: PASSWORD!