drone-runtime icon indicating copy to clipboard operation
drone-runtime copied to clipboard

Resolve pod could be scheduled by node name.

Open noahingh opened this issue 5 years ago • 2 comments

fix #72

drone-runtime use node affinity to schedule a pod on the same node, it match the name of node to kubernetes.io/hostname label. Usually it works well. But if kubernetes.io/hostname label does not use the name of node it can make a problem.

I have resolved by using the node name, it comes from the discourse. Thanks

noahingh avatar Jul 14 '19 14:07 noahingh

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 14 '19 14:07 CLAassistant

@bradrydzewski This looks like this will fix an issue we are having with scheduling failing in pods. Any reason it's not yet been merged in?

MightySCollins avatar Sep 12 '19 10:09 MightySCollins