add watchparty
This commit is contained in:
parent
5f9feb33f6
commit
cc75fa6dbc
4 changed files with 80 additions and 0 deletions
20
apps/watchparty.yaml
Normal file
20
apps/watchparty.yaml
Normal 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
|
||||||
32
apps/watchparty/deployment.yaml
Normal file
32
apps/watchparty/deployment.yaml
Normal 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
|
||||||
16
apps/watchparty/ingress.yaml
Normal file
16
apps/watchparty/ingress.yaml
Normal 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
|
||||||
12
apps/watchparty/service.yaml
Normal file
12
apps/watchparty/service.yaml
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue