summaryrefslogtreecommitdiff
path: root/data.d/k3s-master/manifests.d/tyilnet/public-services/invidious/deployment.yaml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-08-04 08:40:39 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-08-04 08:40:39 +0200
commit3cd561677f39fad3a02820106ba0d340efe6aac1 (patch)
tree3af85cd6a6384d5514f62406f2172ad2b0eb0e0c /data.d/k3s-master/manifests.d/tyilnet/public-services/invidious/deployment.yaml
parent4fcd0741940a7f6316e1fb71ede6624c5359c39e (diff)
Rename oolah.tyil.net k3s cluster to tyilnet
This is an actual cluster now, after all, not a single node deployment like the other k3s-master instances, which will most likely all be taken out of order with time.
Diffstat (limited to 'data.d/k3s-master/manifests.d/tyilnet/public-services/invidious/deployment.yaml')
-rw-r--r--data.d/k3s-master/manifests.d/tyilnet/public-services/invidious/deployment.yaml54
1 files changed, 54 insertions, 0 deletions
diff --git a/data.d/k3s-master/manifests.d/tyilnet/public-services/invidious/deployment.yaml b/data.d/k3s-master/manifests.d/tyilnet/public-services/invidious/deployment.yaml
new file mode 100644
index 0000000..d910c47
--- /dev/null
+++ b/data.d/k3s-master/manifests.d/tyilnet/public-services/invidious/deployment.yaml
@@ -0,0 +1,54 @@
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: invidious
+ namespace: public-services
+ labels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: invidious
+ app.kubernetes.io/part-of: public-services
+spec:
+ replicas: 2
+ selector:
+ matchLabels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: invidious
+ app.kubernetes.io/part-of: public-services
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: invidious
+ app.kubernetes.io/part-of: public-services
+ spec:
+ containers:
+ - name: invidious
+ image: quay.io/invidious/invidious:latest
+ ports:
+ - containerPort: 8080
+ env:
+ - name: INVIDIOUS_CONFIG
+ valueFrom:
+ secretKeyRef:
+ name: invidious-config
+ key: config.yml
+ resources:
+ requests:
+ memory: 64Mi
+ limits:
+ memory: 128Mi
+ affinity:
+ podAntiAffinity:
+ requiredDuringSchedulingIgnoredDuringExecution:
+ - labelSelector:
+ matchExpressions:
+ - key: app.kubernetes.io/name
+ operator: In
+ values:
+ - invidious
+ topologyKey: "kubernetes.io/hostname"
+...