Skip to content

taesunny/gpu-resource-toleration-admission-controller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPU Resource Toleration Admission Controller

Webhook for Validating Admission Controller

  • If with no GPU Resource Request, Toleration of GPU Resource name can not be added into Pod Spec

Webhook for Mutating Admission Controller

It automatically adds toleration for taint list arguments with NoSchedule and NoExecute operation.

How to Add Taint to Node

Run kubectl taint nodes command like below.

```
kubectl taint nodes {Node Name} {Resource Name}=:NoSchedule
kubectl taint nodes {Node Name} {Resource Name}=:NoSchedule
```

Host to build Docker Image

git clone https://github.com/tmax-cloud/gpu-resource-toleration-admission-controller.git
docker build -t mytag -f Dockerfile .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.5%
  • Shell 12.6%
  • Dockerfile 1.6%
  • Makefile 1.3%