You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
# WARNING: This is an example pod spec only. Remove all comments before use.
apiVersion: v1
kind: Pod
metadata:
name: afxdp-pod # Pod name
annotations:
k8s.v1.cni.cncf.io/networks: afxdp-network # List of networks to attach to this pod (i.e. network name specified in network-attachment-definition.yaml)
spec:
containers:
- name: afxdp
image: docker-image:latest # Specify your docker image here, along with PullPolicy and command
imagePullPolicy: IfNotPresent
command: ["tail", "-f", "/dev/null"]
securityContext:
capabilities:
add:
- NET_RAW
- IPC_LOCK
- BPF # Only needed if kernel version <= 5.18
resources:
requests:
afxdp/myPool: '1' # The resource requested needs to match the device plugin pool name / resource type
limits: # The number requested needs to match the amount requested in annotations list above
afxdp/myPool: '1' # Requests and limits should match