add watchparty

This commit is contained in:
Sergei Poljanski 2026-04-04 16:03:46 +03:00
commit cc75fa6dbc
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
4 changed files with 80 additions and 0 deletions

20
apps/watchparty.yaml Normal file
View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: watchparty
namespace: watchparty
spec:
selector:
app: watchparty
ports:
- name: http
port: 8080
targetPort: http