-
Notifications
You must be signed in to change notification settings - Fork 299
fleetctl: Adding Restart Command #1082
Conversation
This allows users to easily do rolling restarts of units in the cluster.
|
Just noticed that this adds similar functionality as PR #961 |
|
@davidreynolds if you have time, could you squash your commits down and update the commit message per CONTRIBUTING.md? |
|
Also in progress at #1238 |
|
Hi, |
|
Hi @arthur-c thank you for the bump. Could you please also review and comment in this #1238 PR , hmm it seems that conversation moved into that PR ? A quick look suggests the patches are the same, I guess same approach, so it would be nice if you could share your thoughts here, or better on that PR. Thanks again! |
|
The update on this one and how this should be used implemented is here: Closing this one, thank you all! |
This allows end users to perform rolling restarts on units easily with one command.
This pull request uses the existing
cAPI.SetUnitTargetStatefunction to load and then launch each unit since setting up a passthrough for the systemctl restart command is overly complex and seems to be against the restful nature of the system.