apiVersion: v1
kind: Pod
metadata:
name: my-pod
namespace: default
annotations:
k8s.v1.cni.cncf.io/networks: default-sriov-net
spec:
nodeSelector:
kubernetes.io/hostname: worker-237 (1)
containers:
- name: appcntr1
image: registry.access.redhat.com/ubi9/ubi:latest
command: ['/bin/sh', '-c', 'sleep infinity']
imagePullPolicy: Always
securityContext:
priviledged: true
runAsNonRoot: false
runAsUser: 0
seccompProfile:
type: RuntimeDefault
resources:
requests:
openshift.io/dpu: '1'
limits:
openshift.io/dpu: '1'