drone-runtime
drone-runtime copied to clipboard
Resolve pod could be scheduled by node name.
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
@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?