-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdeployment.yml
More file actions
36 lines (36 loc) · 871 Bytes
/
deployment.yml
File metadata and controls
36 lines (36 loc) · 871 Bytes
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: cfx-proxy
namespace: experiments
spec:
replicas: 1
template:
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: dc
operator: In
values:
- ovh
containers:
- env:
- name: LOCAL_ENDPOINT_PORT
value: "30120"
- name: REMOTE
value: "Your server IP"
- name: LOCAL_ENDPOINT_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
image: docker.io/citizenfx/dummy-proxy
name: cfx-proxy
ports:
- containerPort: 30120
hostPort: 30120
name: fxs
protocol: UDP