-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PD pod unschedulable with scheduler extender #180
Comments
This seems affect all location based persistent volumes scheduling. For example GKE regional persistent disk as in #241 |
i meet this issue in OSX DinD env too |
@tlightsky Are you using |
@tlightsky what is the K8s version? |
@weekface yes, i used version v1.0.0-beta.1, |
this should be fixed in the newer version. |
From #170, when deploying a TiDB cluster in DinD with Local PV, even we specify
WaitForFirstConsumer
binding mode for local volume. The PV and PVC still may get bound before the pod is scheduled.Previously we don't have scheduler extender, and all pods can be scheduled. But now when adding scheduler extender, PD pods are not allowed to schedule on the same node. So when PV and PVC are bound before pod scheduling, the pod can actually only be scheduled on the node that PV belongs to. But the HA predicate would refuse to schedule on that node, causing pod unschedulable.
This may be related to local volume scheduling bug which uses affinity and anti-affinity rules. It is fixed in Kubernetes v1.12.
The text was updated successfully, but these errors were encountered: