Not able to launch the SR-IOV based POD using Deployment kind in non default projects
Issue
- Not able to launch the SR-IOV based pod using kind
Deployment
in any other projects except thedefault
project. - SR-IOV based pod can only be deployed successfully in the default project if the
networkNamespace
is set todefault
while creating thesriovnetwork
object - When a non-default namespace is used at the
sriovnetwork
configuration, It failed with the following error:
ReplicaFailureTrue Oct 8, 2:28 pm FailedCreateadmission webhook "network-resources-injector-config.k8s.io" denied the request: could not find network attachment definition 'default/intel-xyz-sriovnetwork': could not get Network Attachment Definition default/intel-xyz-sriovnetwork: the server could not find the requested resource
Environment
- Red Hat OpenShift Container Platform v4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.