Code Review
/
samplevnf.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Support packets in flight
[samplevnf.git]
/
VNFs
/
DPPD-PROX
/
helper-scripts
/
rapid
/
pod-rapid.yaml
1
apiVersion: v1
2
kind: Pod
3
metadata:
4
name: pod-rapid-
5
annotations:
6
k8s.v1.cni.cncf.io/networks: intel-sriov-vfio
7
spec:
8
containers:
9
- name: pod-rapid
10
image: opnfv/rapid:latest
11
imagePullPolicy: Always
12
securityContext:
13
capabilities:
14
add: ["IPC_LOCK", "NET_ADMIN"]
15
volumeMounts:
16
- mountPath: /dev/hugepages
17
name: hugepages
18
resources:
19
requests:
20
hugepages-2Mi: 1Gi
21
memory: 1Gi
22
cpu: 8
23
intel.com/intel_sriov_vfio: '1'
24
limits:
25
hugepages-2Mi: 1Gi
26
memory: 1Gi
27
cpu: 8
28
intel.com/intel_sriov_vfio: '1'
29
volumes:
30
- name: hugepages
31
emptyDir:
32
medium: HugePages
33
restartPolicy: Never