-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathipfix-collector.yaml
60 lines (60 loc) · 1.18 KB
/
ipfix-collector.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
59
60
---
# Source: ipfix-collector/templates/ipfix-collector.yaml
apiVersion: v1
kind: Namespace
metadata:
labels:
app: ipfix-collector
name: ipfix
---
# Source: ipfix-collector/templates/ipfix-collector.yaml
apiVersion: v1
kind: Service
metadata:
labels:
app: ipfix-collector
name: ipfix-collector
namespace: ipfix
spec:
selector:
app: ipfix-collector
ports:
- name: ipfix-udp
port: 4739
protocol: UDP
targetPort: 4739
- name: ipfix-tcp
port: 4739
protocol: TCP
targetPort: 4739
---
# Source: ipfix-collector/templates/ipfix-collector.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: ipfix-collector
name: ipfix-collector
namespace: ipfix
spec:
replicas: 1
selector:
matchLabels:
app: ipfix-collector
template:
metadata:
labels:
app: ipfix-collector
spec:
containers:
- args:
- --ipfix.port=4739
- --ipfix.transport=tcp
image: antrea/ipfix-collector:latest
imagePullPolicy: IfNotPresent
name: ipfix-collector
ports:
- containerPort: 4739
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64