-
Notifications
You must be signed in to change notification settings - Fork 502
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
FailedScheduling: nodes didn't match node selector #516
Comments
@jaltabike Could you show if there are available PVs by |
@tennix $ kubectl get po -n kube-system -lapp=local-volume-provisioner |
Please view the
|
|
@jaltabike Could you give a PD pod's info. |
@xiaojingchen Warning FailedScheduling 35s (x103928 over 4h10m) tidb-scheduler 0/4 nodes are available: 4 node(s) didn't match node selector. |
What version of your operator is used for? |
The same problem occurred when I try to deploy TiDB cluster in the DinD Kubernetes cluster. @shuijing198799 My operator's version is :
|
@jaltabike @tkanng This issue is fixed by #475, can you upgrade to By the way, we will release |
|
@weekface |
@jaltabike Yes. |
@weekface |
@mysticaltech what environment is your K8s running in? on-prem or a cloud provider? |
@gregwebs It was my fault, now this particular problem is indeed fixed with |
Bug Report
What version of Kubernetes are you using?
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.0", GitCommit:"ddf47ac13c1a9483ea035a79cd7c10005ff21a6d", GitTreeState:"clean", BuildDate:"2018-12-03T21:04:45Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.5", GitCommit:"51dd616cdd25d6ee22c83a858773b607328a18ec", GitTreeState:"clean", BuildDate:"2019-01-16T18:14:49Z", GoVersion:"go1.10.7", Compiler:"gc", Platform:"linux/amd64"}
What version of TiDB Operator are you using?
TiDB Operator Version: version.Info{TiDBVersion:"2.1.0", GitVersion:"v1.0.0-beta.2", GitCommit:"bc913fc1459118c1d972be37e100d3a70a9e981a", GitTreeState:"clean", BuildDate:"2019-05-10T10:15:56Z", GoVersion:"go1.12", Compiler:"gc", Platform:"linux/amd64"}
What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?
NAME PROVISIONER AGE
local-storage kubernetes.io/no-provisioner 5m40s
What's the status of the TiDB cluster pods?
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE
demo-discovery-58fb7c6765-wwgbx 1/1 Running 0 3m4s 10.244.1.5 kube-node-3
demo-monitor-5ddb4bf8c-9xv96 2/2 Running 0 3m4s 10.244.2.4 kube-node-1
demo-pd-0 0/1 Pending 0 3m4s
demo-pd-1 0/1 Pending 0 3m4s
demo-pd-2 0/1 Pending 0 3m4s
What did you do?
Following the guide (https://github.com/pingcap/tidb-operator/blob/master/docs/local-dind-tutorial.md) to deploy a TiDB cluster in the DinD Kubernetes cluster.
What did you expect to see?
Success to deploy a TiDB cluster in the DinD Kubernetes cluster
What did you see instead?
pd's status stucks in pending.
When I run "kubectl describe po -n ", I see the following warning:
Warning FailedScheduling 2m45s (x2510 over 7m45s) tidb-scheduler 0/4 nodes are available: 4 node(s) didn't match node selector.
The text was updated successfully, but these errors were encountered: