cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit d512a15f1ab9c108b27163ba009e1a8370237400
parent 5b2d8b7e46ca7b894b3d4c9c9785adf47a73951f
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat,  7 Dec 2024 01:20:59 +0100

Twitch vods!

Diffstat:
Mapps/base/twitch-vod/deployment.yaml | 82++++++++++++++++++++++++++++++++++++++++----------------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)

diff --git a/apps/base/twitch-vod/deployment.yaml b/apps/base/twitch-vod/deployment.yaml @@ -21,51 +21,51 @@ spec: - name: init-twitch-vod-vol image: alpine:3.20 command: - - chown - - -R - - 10001:10001 - - /usr/local/share/twitchautomator/data + - chown + - -R + - 10001:10001 + - /usr/local/share/twitchautomator/data volumeMounts: - - mountPath: /usr/local/share/twitchautomator/data - name: twitch-vod-data + - mountPath: /usr/local/share/twitchautomator/data + name: twitch-vod-data containers: - name: twitch-vod image: mrbrax/twitchautomator:master imagePullPolicy: Always securityContext: - runAsUser: 10001 - runAsGroup: 10001 - fsGroup: 10001 + runAsUser: 10001 + runAsGroup: 10001 + fsGroup: 10001 env: - - name: NODE_ENV - value: production - - name: TCD_ENABLE_FILES_API - value: "1" - - name: TCD_EXPOSE_LOGS_TO_PUBLIC - value: "0" - - name: TCD_MIGRATE_OLD_VOD_JSON - value: "0" + - name: NODE_ENV + value: production + - name: TCD_ENABLE_FILES_API + value: "1" + - name: TCD_EXPOSE_LOGS_TO_PUBLIC + value: "0" + - name: TCD_MIGRATE_OLD_VOD_JSON + value: "0" ports: - - name: http - containerPort: 8080 - protocol: TCP + - name: http + containerPort: 8080 + protocol: TCP livenessProbe: - httpGet: - path: / - port: http + httpGet: + path: / + port: http readinessProbe: - httpGet: - path: / - port: http + httpGet: + path: / + port: http volumeMounts: - - mountPath: /usr/local/share/twitchautomator/data - name: twitch-vod-data - - mountPath: /usr/local/share/twitchautomator/public - name: builddir + - mountPath: /usr/local/share/twitchautomator/data + name: twitch-vod-data + - mountPath: /usr/local/share/twitchautomator/public + name: builddir volumes: - name: twitch-vod-data persistentVolumeClaim: - claimName: twitch-vod-data + claimName: twitch-vod-data # Emptydir for build - name: builddir emptyDir: {} @@ -91,7 +91,7 @@ kind: PersistentVolumeClaim metadata: name: twitch-vod-data spec: - className: hcloud-volumes + storageClassName: hcloud-volumes accessModes: - ReadWriteOnce resources: @@ -113,15 +113,15 @@ spec: rules: - host: twitch-vod.midnightthoughts.space http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: twitch-vod - port: - number: 8080 + paths: + - path: / + pathType: Prefix + backend: + service: + name: twitch-vod + port: + number: 8080 tls: - hosts: - - twitch-vod.midnightthoughts.space + - twitch-vod.midnightthoughts.space secretName: twitch-vod-tls