From cc75fa6dbc87ea73c4af92e261391a4ec9787cc6 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Sat, 4 Apr 2026 16:03:46 +0300 Subject: [PATCH] add watchparty --- apps/watchparty.yaml | 20 ++++++++++++++++++++ apps/watchparty/deployment.yaml | 32 ++++++++++++++++++++++++++++++++ apps/watchparty/ingress.yaml | 16 ++++++++++++++++ apps/watchparty/service.yaml | 12 ++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 apps/watchparty.yaml create mode 100644 apps/watchparty/deployment.yaml create mode 100644 apps/watchparty/ingress.yaml create mode 100644 apps/watchparty/service.yaml diff --git a/apps/watchparty.yaml b/apps/watchparty.yaml new file mode 100644 index 0000000..09bf007 --- /dev/null +++ b/apps/watchparty.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: watchparty + namespace: argocd +spec: + project: default + source: + repoURL: ssh://git@git.czsk.it/asxpi/k8s-asxpio-gitops.git + targetRevision: main + path: apps/watchparty + destination: + server: https://kubernetes.default.svc + namespace: watchparty + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/apps/watchparty/deployment.yaml b/apps/watchparty/deployment.yaml new file mode 100644 index 0000000..6dfc73a --- /dev/null +++ b/apps/watchparty/deployment.yaml @@ -0,0 +1,32 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: watchparty + namespace: watchparty +spec: + replicas: 1 + selector: + matchLabels: + app: watchparty + template: + metadata: + labels: + app: watchparty + spec: + containers: + - name: watchparty + image: muaeabudhabi/watchparty-v8:latest + ports: + - containerPort: 8080 + name: http + env: + - name: PORT + value: "8080" + - name: HOST + value: "0.0.0.0" + resources: + requests: + memory: 256Mi + cpu: 100m + limits: + memory: 512Mi diff --git a/apps/watchparty/ingress.yaml b/apps/watchparty/ingress.yaml new file mode 100644 index 0000000..549173e --- /dev/null +++ b/apps/watchparty/ingress.yaml @@ -0,0 +1,16 @@ +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: watchparty + namespace: watchparty +spec: + entryPoints: + - websecure + routes: + - match: Host(`watch.k8s.asxp.io`) + kind: Rule + services: + - name: watchparty + port: 8080 + tls: + certResolver: letsencrypt diff --git a/apps/watchparty/service.yaml b/apps/watchparty/service.yaml new file mode 100644 index 0000000..7c37b31 --- /dev/null +++ b/apps/watchparty/service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: watchparty + namespace: watchparty +spec: + selector: + app: watchparty + ports: + - name: http + port: 8080 + targetPort: http