51 lines
863 B
YAML
51 lines
863 B
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: kx3dex-radio
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: kx3dex-radio
|
|
spec:
|
|
selector:
|
|
app: KX3DEX_Radio
|
|
ports:
|
|
- protocol: TCP
|
|
port: 3000
|
|
targetPort: 3000
|
|
---
|
|
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
|
|
image: gitea.simplysyncedllc.com/dex/kx3dex_radio:1.3.0
|
|
ports:
|
|
- containerPort: 3000
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: kx3dex-radio-ingress
|
|
namespace: kx3dex-radio
|
|
spec:
|
|
rules:
|
|
- host: kx3dex.radio
|
|
http:
|
|
paths:
|
|
- backend:
|
|
serviceName: kx3dex-radio
|
|
servicePort: 3000
|