From 15a9c8b4319cd877e3ad12d6f0461e6a53e54ec3 Mon Sep 17 00:00:00 2001 From: ar9708 <123388211+ar9708@users.noreply.github.com> Date: Sun, 17 Mar 2024 02:01:14 +0000 Subject: [PATCH] Formatting... --- README.md | 57 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 5f9c3d2..7536937 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # [`owntube/peertube-runner`](https://github.com/OwnTube-tv/peertube-runner) -Containerized [@peertube/peertube-runner](https://www.npmjs.com/package/@peertube/peertube-runner) for remote execution -of transcoding jobs in Kubernetes. +Containerized Node [`@peertube/peertube-runner`](https://www.npmjs.com/package/@peertube/peertube-runner) for +remote execution of transcoding jobs in Kubernetes. ## Container Image Variants -### Image Variant 1: `owntube/peertube-runner:v521` PeerTube v5.2.1 Runner +### Image Variant 1: `owntube/peertube-runner:v521` from PeerTube v5.2.1 Build the container image: @@ -23,12 +23,13 @@ docker run -it --rm -u root --name v521-runner-server \ owntube/peertube-runner:v521 peertube-runner server ``` -### Image Variant 2: `owntube/peertube-runner:v603` (`:latest`) PeerTube v6.0.3 Runner +### Image Variant 2: `owntube/peertube-runner:v603/latest` from PeerTube v6.0.3 Build the container image: ```bash docker build -f Dockerfile.bookworm -t owntube/peertube-runner:v603 . +docker tag owntube/peertube-runner:v603 owntube/peertube-runner:latest ``` Test running the PeerTube runner server: @@ -53,10 +54,10 @@ Communication (IPC). We need the following _PersistentVolumeClaims_ (PVCs): 1. `peertube-runner-local` for things persisted in `/home/peertube/.local/share/peertube-runner-nodejs` -2. `peertube-runner-config` for the tool's internal configs in `/home/peertube/.config/peertube-runner-nodejs` -3. `peertube-runner-cache` for file storage during task execution in `/home/peertube/.cache/peertube-runner-nodejs` +2. `peertube-runner-config` for the tool internals in `/home/peertube/.config/peertube-runner-nodejs` +3. `peertube-runner-cache` for temp file storage in `/home/peertube/.cache/peertube-runner-nodejs` -If we had a namespace named "peertube" and a storage class named "microk8s-hostpath", it could look like this: +If we had a namespace named `"peertube"` and a storage class named `"microk8s-hostpath"`, it could look like this: ```bash kubectl apply -f - <