diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-08-04 08:40:39 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-08-04 08:40:39 +0200 |
commit | 3cd561677f39fad3a02820106ba0d340efe6aac1 (patch) | |
tree | 3af85cd6a6384d5514f62406f2172ad2b0eb0e0c /data.d/k3s-master/manifests.d/tyilnet/public-services/invidious/deployment.yaml | |
parent | 4fcd0741940a7f6316e1fb71ede6624c5359c39e (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.yaml | 54 |
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" +... |