You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kubestr currently does not allow scheduling FIO benchmark pods on nodes with taints.
I've come up with several ways that could be achieved:
Ignore all taints (changes current behaviour)
Have a flag to ignore all taints
Have a flag for toleration expressions (but only implement an expression for universal toleration for now)
For the last option, I suggest a syntax based off kubectl's taint expression:
key[=value][:effect]|:effect
However, it needs a way to specify a universal toleration. I came up with these possibilities:
: – An empty effect in the syntax above would mean "any". This is in line with the fact that "" specifies any effect in the definition of Toleration.
:Any – This mimics an actual effect name (effect names use an uppercase starting letter and are case sensitive), but this also means it could clash with an actual "Any" effect (I find this unlikely to be added though).
:any – Using a lowercase starting letter to denote a special symbol
::Any – Extra : to denote a special symbol
Or maybe these is an established solution that I'm not aware of.
I'm not sure which way would be preferred. To me, toleration :/toleration=: seems to be the cleanest and most future-proof solution.
Kubestr currently does not allow scheduling FIO benchmark pods on nodes with taints.
I've come up with several ways that could be achieved:
For the last option, I suggest a syntax based off kubectl's taint expression:
However, it needs a way to specify a universal toleration. I came up with these possibilities:
:
– An emptyeffect
in the syntax above would mean "any". This is in line with the fact that "" specifies any effect in the definition of Toleration.:Any
– This mimics an actual effect name (effect names use an uppercase starting letter and are case sensitive), but this also means it could clash with an actual "Any" effect (I find this unlikely to be added though).:any
– Using a lowercase starting letter to denote a special symbol::Any
– Extra:
to denote a special symbolOr maybe these is an established solution that I'm not aware of.
I'm not sure which way would be preferred. To me,
toleration :
/toleration=:
seems to be the cleanest and most future-proof solution.@ihcsim @smasset-orange
The text was updated successfully, but these errors were encountered: