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
Deploymentin any other projects except thedefaultproject. - SR-IOV based pod can only be deployed successfully in the default project if the
networkNamespaceis set todefaultwhile creating thesriovnetworkobject - When a non-default namespace is used at the
sriovnetworkconfiguration, 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.