-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
45 lines (45 loc) · 896 Bytes
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: apps/v1
kind: Deployment
metadata:
name: hdhr-legacy-proxy
spec:
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
app: hdhr-legacy-proxy
strategy:
type: Recreate
template:
metadata:
labels:
app: hdhr-legacy-proxy
spec:
enableServiceLinks: false
hostNetwork: true
containers:
- name: hdhr-legacy-proxy
image: ghcr.io/kincl/hdhr-legacy-proxy:latest
env:
- name: HDHR_LEGACY_PROXY_HOST
value: CHANGME
---
kind: Service
apiVersion: v1
metadata:
name: hdhr-legacy-proxy
spec:
type: LoadBalancer
selector:
app: hdhr-legacy-proxy
loadBalancerIP: CHANGME
externalTrafficPolicy: Local
ports:
- name: http
protocol: TCP
port: 8000
targetPort: 8000
- name: video
protocol: UDP
port: 6000
targetPort: 6000