flux/apps/kx3dex-radio/deployment.yaml

61 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2024-08-13 07:45:29 +00:00
apiVersion: v1
kind: Namespace
metadata:
name: kx3dex-radio
---
apiVersion: v1
kind: Service
metadata:
2024-08-13 19:24:33 +00:00
name: kx3dex-radio-svc
2024-08-13 07:45:29 +00:00
spec:
selector:
app: KX3DEX_Radio
ports:
- protocol: TCP
port: 3000
targetPort: 3000
---
2024-08-12 03:42:27 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: kx3dex-radio
spec:
selector:
matchLabels:
app: KX3DEX_Radio
replicas: 2
template:
metadata:
labels:
app: KX3DEX_Radio
spec:
containers:
- name: kx3dex-radio-site
2024-08-16 20:57:57 +00:00
image: gitea.simplysyncedllc.com/dex/kx3dex_radio:1.3.5
2024-08-12 03:42:27 +00:00
ports:
- containerPort: 3000
2024-08-14 16:02:16 +00:00
ingress:
enabled: true
className: nginx
2024-08-13 07:45:29 +00:00
---
2024-08-13 07:52:28 +00:00
apiVersion: networking.k8s.io/v1
2024-08-13 07:45:29 +00:00
kind: Ingress
metadata:
2024-08-13 07:55:03 +00:00
name: kx3dex-radio-ingress
2024-08-13 07:45:29 +00:00
namespace: kx3dex-radio
2024-08-14 04:34:15 +00:00
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
2024-08-13 07:45:29 +00:00
spec:
2024-08-13 19:21:09 +00:00
ingressClassName: nginx
2024-08-13 07:45:29 +00:00
rules:
- host: kx3dex.radio
http:
paths:
2024-08-13 19:21:09 +00:00
- backend:
2024-08-13 17:15:49 +00:00
service:
2024-08-13 19:21:09 +00:00
name: kx3dex-radio-svc
2024-08-13 17:15:49 +00:00
port:
number: 3000
2024-08-13 19:21:09 +00:00
path: /
pathType: ImplementationSpecific