intel-device-plugins-for-kubernetes: admission webhook "fpga.mutator.webhooks.intel.com" denied the request: environment variable 'FPGA_AFU_1' is not allowed

I was trying to run one of the example deployment ( test-fpga-region.yaml ) on my cluster with FPGAs. Iam getting the following error when running the app after programming the devices:

saikiran@server1:~/Kubernetes/fpga-device-plugin/intel-device-plugins-for-kubernetes/demo$ k apply -f test-fpga-orchestrated.yaml
Error from server: error when creating "test-fpga-orchestrated.yaml": admission webhook "fpga.mutator.webhooks.intel.com" denied the request: environment variable 'FPGA_AFU_1' is not allowed

I have followed the following guide: https://asciinema.org/a/sUnLNwpazbUXKdpC66g09W5w1

here’s the result of programmed devices:

> cat /sys/class/*/*/*/afu_id                                                                                                                                                     
d8424dc4a4a3c413f89e433683f9040b                                                                                                                                                  
d8424dc4a4a3c413f89e433683f9040b 

please can you help me resolve this issue/errors

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (13 by maintainers)

Most upvoted comments

@mythi The “no such resource” error is expected when mappings haven’t been populated at the moment of mutation. Could be a result of improper test env setup.