-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathcnfs-linux.yaml
43 lines (42 loc) · 993 Bytes
/
cnfs-linux.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
---
# Linux CNF 1 pod definition. Pod is connected with one additional tap interface
# in the "stub" network = meaning that it won't have any IP address assigned.
apiVersion: v1
kind: Pod
metadata:
name: linux-cnf1
annotations:
contivpp.io/custom-if: tap1/tap/stub
labels:
cnf: linux-cnf1
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 "stub" network = meaning that it won't have any IP address assigned.
apiVersion: v1
kind: Pod
metadata:
name: linux-cnf2
annotations:
contivpp.io/custom-if: tap1/tap/stub
labels:
cnf: linux-cnf2
spec:
containers:
- name: busybox
image: busybox
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
command:
- sleep
- "3600"