-
Notifications
You must be signed in to change notification settings - Fork 0
/
iperf.yaml
58 lines (58 loc) · 1.13 KB
/
iperf.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
46
47
48
49
50
51
52
53
54
55
56
57
58
apiVersion: apps/v1
kind: Deployment
metadata:
name: iperf3
labels:
app: iperf3
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: iperf3
template:
metadata:
labels:
app: iperf3
spec:
hostNetwork: true
containers:
- name: iperf
image: duedal/iperf3@sha256:fdb1377ea29feed8f6ab713bcbd4e6456ed4bfdb106c49fd378c7a4326e11dbe
ports:
- containerPort: 5201
livenessProbe:
exec:
command:
- timeout
- "6"
- /usr/local/bin/iperf-probe
timeoutSeconds: 7
initialDelaySeconds: 5
periodSeconds: 15
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: iperf
labels:
app: iperf
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: iperf
template:
metadata:
labels:
app: iperf
spec:
hostNetwork: true
containers:
- name: iperf
image: mlabbe/iperf@sha256:370ad5bf32cb71b506785d62e3f1df73e87205f992847305ac0ee38173f3f66a
ports:
- containerPort: 5001