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

gracefulEvictionTasks is added to rb, but is never automatically removed, even if the cluster is ready #5782

Open
CharlesQQ opened this issue Nov 4, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@CharlesQQ
Copy link
Contributor

CharlesQQ commented Nov 4, 2024

What happened:
Failover and GracefulEviction featureGate is open.
After the cluster becomes notready, the following content will be added to rb by the controller:

gracefulEvictionTasks:
  - fromCluster: xxx
    producer: TaintManager
    reason: TaintUntolerated
    replicas: 2

However, when the cluster is ready, the above content will not be removed from rb, affecting the scheduling of new expansion pods to the cluster.

What you expected to happen:
After the cluster is ready, gracefulEvictionTasks removes the content about the cluster from rb

How to reproduce it (as minimally and precisely as possible):

  • Modify the ApiServer address of a member cluster to an unreachable address
  • Wait for cluster notready
  • Resize deployment replicas
  • Wait for rb to add gracefulEvictionTasks
  • Restore the ApiServer address of the cluster
  • Wait for the cluster to be ready
  • resize deployment replicas, whether the cluster has newly scheduled instances and the contents of gracefulEvictionTasks in rb

Anything else we need to know?:

Environment:

  • Karmada version:
    v1.12
  • kubectl-karmada or karmadactl version (the result of kubectl-karmada version or karmadactl version):
  • Others:
@CharlesQQ CharlesQQ added the kind/bug Categorizes issue or PR as related to a bug. label Nov 4, 2024
@RainbowMango
Copy link
Member

Can you share the PropagationPolicy of the Deployment?

The creation of a graceful eviction task indicates that the failover is about to process, was the failover successful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
Status: No status
Development

No branches or pull requests

2 participants