mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-10-20 23:12:00 +00:00
Enabling kubelete checkpoint file parsing to get Pod device info so that these device information can be passed into CNI plugins that need specific device information to work on. Change-Id: I6630f56adc0a8307f575fc09ce9090c1ffca0337
22 lines
453 B
YAML
22 lines
453 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: testpod1
|
|
labels:
|
|
env: test
|
|
annotations:
|
|
k8s.v1.cni.cncf.io/networks: sriov-net-a
|
|
spec:
|
|
containers:
|
|
- name: appcntr1
|
|
image: centos/tools
|
|
imagePullPolicy: IfNotPresent
|
|
command: [ "/bin/bash", "-c", "--" ]
|
|
args: [ "while true; do sleep 300000; done;" ]
|
|
resources:
|
|
requests:
|
|
intel.com/sriov: '1'
|
|
limits:
|
|
intel.com/sriov: '1'
|
|
restartPolicy: "Never"
|