diff options
author | Patrick Spek <p.spek@tyil.nl> | 2024-06-26 11:46:04 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2024-06-26 11:47:03 +0200 |
commit | 9d33b82d796dce1805a418d2951ef532b51990f6 (patch) | |
tree | 86f9044d95308cb7645c3dbf7e5b64c027e50693 /data.d/k3s-master/manifests.d/public-services/invidious/deployment.yaml | |
parent | 0970a3df19b02fdec6ed7cc0ac92504d84a3655a (diff) |
Deploy all services into new k3s cluster
Diffstat (limited to 'data.d/k3s-master/manifests.d/public-services/invidious/deployment.yaml')
-rw-r--r-- | data.d/k3s-master/manifests.d/public-services/invidious/deployment.yaml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/data.d/k3s-master/manifests.d/public-services/invidious/deployment.yaml b/data.d/k3s-master/manifests.d/public-services/invidious/deployment.yaml new file mode 100644 index 0000000..1277259 --- /dev/null +++ b/data.d/k3s-master/manifests.d/public-services/invidious/deployment.yaml @@ -0,0 +1,56 @@ +--- +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: 1Gi + limits: + memory: 1Gi + nodeSelector: + kubernetes.io/arch: amd64 + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - invidious + topologyKey: "kubernetes.io/hostname" +... |