Helm chart for deploying Peertube on kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
LecygneNoir e093c5371f Merge branch 'release/v1.6.0' 3 months ago
sample Patch somes values to be more helm linter compliant 4 years ago
scripts Upgrade to Peertube v6.0.2, using init-container to move directory from /data/videos to /data/web-videos and applying production.yaml.new file 3 months ago
templates Compatibility increased for k8s 1.25+ and bump to Peertube v5.2.1 3 months ago
.gitignore Add default gitignore 4 years ago
CHANGELOG.md Merge branch 'release/v1.6.0' 3 months ago
Chart.yaml Upgrade to Peertube v6.0.2, using init-container to move directory from /data/videos to /data/web-videos and applying production.yaml.new file 3 months ago
LICENSE Initial commit 4 years ago
README.md Compatibility for Peertube v4.3.0 and removing of very old redis chart dependancy 1 year ago
values.yaml Upgrade to Peertube v6.0.2, using init-container to move directory from /data/videos to /data/web-videos and applying production.yaml.new file 3 months ago

README.md

Peertube on kubernetes

Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent.


Status : WIP but workable

Before deploying

Currently if you want use persistent volume you need to create persistent volume and persistent volume claim. You may use sample claims from sample:

  • change the storageclass from ChangeMeStorageClass to your correct class
  • apply the claim: kubectl apply -f sample/claim.pvc-pt.yml

Postgres

You need a postgresql server. If you know what you are doing and want to store postgres in Kubernetes, I suggest postgres-operator from CrunchyData

You also need a redis

From peertube helm v1.5.0, redis is no more provided inside the chart. Indeed peertube does not handle anymore redis 3.3, so I advice installing and managing redis outside the chart like postgres cluster.

I suggest using bitnami redis with architecture=standalone to avoid uneeded slave (Peertube only need master)

Once installed, use following values to pass needed info to your peertube instance.

redisHostname
redisAuth

Installing the chart

$ helm install --name my-release .

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
  --set environment.hostname=new.domain.tld,\
  postgresql.postgresPassword=secretpassword \
  .

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml .

See the sample/values.yml for example of values to use

Source

Originated from https://github.com/MikaXII/helm-charts Thanks!