Argo/Deployments/zeus.yaml

68 lines
1.4 KiB
YAML
Raw Normal View History

2022-12-08 10:19:35 +01:00
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
---
2022-12-08 10:22:46 +01:00
apiVersion: v1
kind: Service
metadata:
2022-12-08 10:23:33 +01:00
name: zeus
2022-12-08 10:22:46 +01:00
spec:
type: ClusterIP
selector:
2022-12-08 10:23:33 +01:00
app: zeus
2022-12-08 10:22:46 +01:00
ports:
2022-12-08 10:23:33 +01:00
- port: 7878
targetPort: 7878
2022-12-08 10:22:46 +01:00
---
2022-12-08 10:19:35 +01:00
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
2022-12-08 12:45:06 +01:00
traefik.ingress.kubernetes.io/router.middlewares: authentik-ak-outpost-localcluster@kubernetescrd
2022-12-08 10:19:35 +01:00
name: zeus
namespace: default
spec:
ingressClassName: traefik
rules:
- host: zeus.roxedus.com
http:
paths:
- pathType: Prefix
path: /
backend:
service:
name: zeus
port:
2022-12-08 10:22:46 +01:00
number: 7878
2022-12-08 10:19:35 +01:00
tls:
- hosts:
- zeus.roxedus.com
secretName: zeus-roxedus-com-cert