drone / drone-runtime

[DEPRECATED] migrated to https://github.com/drone-runners
Other
62 stars 43 forks source link

kubernetes: Feature Request: taints + tolerations #37

Closed paulreimer closed 5 years ago

paulreimer commented 5 years ago

It would help my use case of using kubernetes + Drone, and desiring to have k8s nodes dedicated to running Drone jobs.

This could work by having a cluster admin create k8s nodes with taints: kubectl taint nodes node1 dedicated=drone:NoSchedule

And so a feature request for supporting config option in Drone to set matching tolerations:

spec:
  tolerations:
    - key: dedicated
      value: drone
aaahrens commented 5 years ago

This is good.

arianitu commented 5 years ago

👍

bradrydzewski commented 5 years ago

there is a new (still experimental) kubernetes runner that supports this syntax: https://github.com/drone-runners/drone-runner-kube