Skip to content
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

[BUG] pod is in the cache, cannot be assumed KB 083beta19 + K8S 1.21.5 #7340

Closed
shanshanying opened this issue May 14, 2024 · 3 comments
Closed
Assignees
Labels
kind/bug Something isn't working test
Milestone

Comments

@shanshanying
Copy link
Contributor

  1. KB 0.8.3-beta19
  2. K8s version: 1.21.5
  3. create a PG cluster

image

image

@shanshanying shanshanying added the kind/bug Something isn't working label May 14, 2024
@ahjing99
Copy link
Collaborator

Cannot recreate with both newly installed and upgrade kb, thus I think this is a k8s env problem

newly install 0.8.3 on k3s 1.21.14
https://github.com/apecloud/kubeblocks/actions/runs/9077390363

Upgrade from 0.8.2 to 0.8.3 on on k3s 1.21.14
https://github.com/apecloud/kubeblocks/actions/runs/9077373907

@ahjing99 ahjing99 assigned shanshanying and unassigned ahjing99 and JashBook May 14, 2024
@shanshanying
Copy link
Contributor Author

reproduced on k8s 1.21.1
image
With some anoying warnings at the very beginning, but the pod got scheduled seconds later.

And this is a known issues for k8s <=1.21.
The cause explained in OpenKruise is

when a pod is created, the scheduler will watch and enqueue it to the scheduling queue. After the scheduling algorithm is completed (finished finding a node), BIND will be performed concurrently. Only when BIND succeeds will the POD be considered scheduled. If someone modifies the pod before the whole process is completed, the POD will be requeued. ...... the kube-scheduler will not skipPODUpdate and will retry to schedule, this will cause continuous annoying ERROR log and Warning events (but will not actually affect POD scheduling).

@github-actions github-actions bot added this to the Release 0.9.0 milestone May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working test
Projects
None yet
Development

No branches or pull requests

3 participants