danisla / kubefunc

Collection of handy kubernetes related helper scripts and bash functions.
88 stars 19 forks source link

use nodeSelector and add toleration #12

Open yogeek opened 4 years ago

yogeek commented 4 years ago

Hi @danisla !

First, thanks for this great plugin.

This PR aims to replace affinity by nodeSelector (which is now the simplest way to affect a pod to a node) and to add toleration to allow scheduling on master nodes.