Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Resolve pod could be scheduled by node name. #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Resolve pod could be scheduled by node name. #77

wants to merge 1 commit into from

Conversation

noahingh
Copy link

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

@CLAassistant
Copy link

CLAassistant commented Jul 14, 2019

CLA assistant check
All committers have signed the CLA.

@MightySCollins
Copy link

@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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pipeline pods cannot be scheduled in Drone for Kubernetes
3 participants