forked from contiv/vpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcnfs-linux-l3.yaml
41 lines (40 loc) · 887 Bytes
/
cnfs-linux-l3.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
---
# Linux CNF 1 pod definition. Pod is connected with one additional tap interface in the "l2net" network.
apiVersion: v1
kind: Pod
metadata:
name: linux-cnf3
annotations:
contivpp.io/custom-if: tap1/tap/l3net
labels:
cnf: linux-cnf3
spec:
containers:
- name: busybox
image: busybox
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
command:
- sleep
- "3600"
---
# Linux CNF 2 pod definition. Pod is connected with one additional tap interface in the "l2net" network.
apiVersion: v1
kind: Pod
metadata:
name: linux-cnf4
annotations:
contivpp.io/custom-if: tap1/tap/l3net
labels:
cnf: linux-cnf4
spec:
containers:
- name: busybox
image: busybox
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
command:
- sleep
- "3600"