test zeus

This commit is contained in:
Simen Røstvik 2022-12-08 10:19:35 +01:00
parent 04a34655fe
commit 1e1391cb7c

54
Deployments/zeus.yaml Normal file
View File

@ -0,0 +1,54 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: zeus
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app: zeus
template:
metadata:
labels:
app: zeus
spec:
containers:
- image: ghcr.io/linuxserver-labs/prarr:radarr-zeus
name: zeus
resources:
limits:
cpu: "800m"
memory: "100Mi"
requests:
cpu: "300m"
memory: "40Mi"
ports:
- containerPort: 7878
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
# add an annotation indicating the issuer to use.
cert-manager.io/acme-challenge-type: dns01
cert-manager.io/cluster-issuer: roxedus.com-cloudflare
name: zeus
namespace: default
spec:
ingressClassName: traefik
rules:
- host: zeus.roxedus.com
http:
paths:
- pathType: Prefix
path: /
backend:
service:
name: zeus
port:
number: 8080
tls:
- hosts:
- zeus.roxedus.com
secretName: zeus-roxedus-com-cert