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

Should rolling deploy command leverage cluster-autoscaler? #4

Open
yorinasub17 opened this issue Jan 14, 2019 · 0 comments
Open

Should rolling deploy command leverage cluster-autoscaler? #4

yorinasub17 opened this issue Jan 14, 2019 · 0 comments
Labels
enhancement New feature or request needs design We need to flesh out the design before we can resolve the issue

Comments

@yorinasub17
Copy link
Contributor

Way it might work:

  1. Taint all the nodes in the cluster with NoSchedule so new pods won't be scheduled on the existing nodes.
  2. In a rolling fashion, evict the pods on a set of nodes so that they need to be rescheduled. This should trigger new instances to be provisioned, because there are no nodes available for the pods to be scheduled on.
  3. Since the pods are being evicted on the old nodes, they should be scaled in because they will become idle.

Also from Jim

One more thought:

  • The deployer can schedule itself as a Job in the K8S cluster
  • The deployer can then checkpoint its progress (e.g., in a ConfigMap)
    That way, if it is paused or restarted, it can just read the state and pick up where it left off
@yorinasub17 yorinasub17 added enhancement New feature or request help wanted labels May 31, 2019
@rhoboat rhoboat added the needs design We need to flesh out the design before we can resolve the issue label Apr 12, 2022
@rhoboat rhoboat changed the title Rolling deploy command should leverage cluster-autoscaler Should rolling deploy command leverage cluster-autoscaler? Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs design We need to flesh out the design before we can resolve the issue
Projects
None yet
Development

No branches or pull requests

3 participants