1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-29 01:06:23 -05:00
invidious/kubernetes
2021-09-01 21:21:38 +00:00
..
templates Fix pg_is ready user 2020-09-06 00:37:05 -07:00
.gitignore Add support to run on Kubernetes, add Helm chart 2020-02-07 13:46:12 +01:00
Chart.lock Add support to run on Kubernetes, add Helm chart 2020-02-07 13:46:12 +01:00
Chart.yaml Remove some mentions of omarroth 2021-01-07 19:01:13 +01:00
README.md Move privacy type into playlists.sql 2020-04-14 18:09:48 -05:00
values.yaml fix image location for helm 2021-09-01 21:21:38 +00:00

Invidious Helm chart

Easily deploy Invidious to Kubernetes.

Installing Helm chart

# Build Helm dependencies
$ helm dep build

# Add PostgreSQL init scripts
$ kubectl create configmap invidious-postgresql-init \
  --from-file=../config/sql/channels.sql \
  --from-file=../config/sql/videos.sql \
  --from-file=../config/sql/channel_videos.sql \
  --from-file=../config/sql/users.sql \
  --from-file=../config/sql/session_ids.sql \
  --from-file=../config/sql/nonces.sql \
  --from-file=../config/sql/annotations.sql \
  --from-file=../config/sql/playlists.sql \
  --from-file=../config/sql/playlist_videos.sql

# Install Helm app to your Kubernetes cluster
$ helm install invidious ./

Upgrading

# Upgrading is easy, too!
$ helm upgrade invidious ./

Uninstall

# Get rid of everything (except database)
$ helm delete invidious

# To also delete the database, remove all invidious-postgresql PVCs