Skip to content

YuichiNAGAO/admission-webhook-gpu-access-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

admission-webhook-gpu-access-control

Problem

If you don't request GPUs when using the device plugin with NVIDIA images all the GPUs on the machine will be exposed inside your container. This admission webhook disable GPU access of pods requesting zero GPUs.

Issue: NVIDIA/k8s-device-plugin#61

How to use

Please run the following commend where kubectl is enabled. image resistory is something like docker.io/<user name>.

git clone https://github.com/YuichiNAGAO/admission-webhook-gpu-access-control.git
bash entrypoint.sh <image resistory>

About

Kubernetes Admission Webhook for GPU access controlling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published