events.action: opened
events.author: tengqm
events.text: /kind bug
  
  *What happened**:
  When requesting a Pod creation with alpha.kubernetes.io/nvidia-gpu specified, I was hoping that the creation is a failure because I didn't enable the Accelerators feature gate. However, it succeeded. The pod is stuck in Pending status which is fine.
  
  **What you expected to happen**:
  I'm expecting that a Pod requesting GPU will be rejected when its container resource requirements are validated. Having the GPU usage guarded by the feature gate will help cleaning removing it in future when device plugin stabilizes.
  
  **How to reproduce it (as minimally and precisely as possible)**:
  Disable Accelerators feature gate and create a Pod with GPU request or limit, the pod is successfully created. It means that the feature gate is not doing its job.
  
  **Anything else we need to know?**:
  
  **Environment**:
  - Kubernetes version (use `kubectl version`):
  - Cloud provider or hardware configuration:
  - OS (e.g. from /etc/os-release):
  - Kernel (e.g. `uname -a`):
  - Install tools:
  - Others:
events.title: Pods with GPU requests should be rejected early if Accelerators feature gate is off
events.type: issue
events.action: created
events.author: dims
events.text: /sig node
events.type: comment
events.action: created
events.author: mindprince
events.text: /close
  
  This is deprecated in 1.10 and going to be removed in 1.11: https://github.com/kubernetes/kubernetes/pull/61498
events.type: comment
data_with_bots.bot: Issues go stale after 90d of inactivity.
  Mark the issue as fresh with `/remove-lifecycle stale`.
  Stale issues rot after an additional 30d of inactivity and eventually close.
  
  If this issue is safe to close now please do so with `/close`.
  
  Send feedback to sig-testing, kubernetes/test-infra and/or [fejta](https://github.com/fejta).
  /lifecycle stale
data_with_bots.meta: This message directly preceded comment from bot *fejta-bot* by author *dims*:
data_with_bots.text: /sig node
data_without_bots.meta: This message directly preceded comment from bot *fejta-bot* by author *dims*:
data_without_bots.text: /sig node