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

Support a --rolling option for traefik reboots #393

Merged
merged 4 commits into from
Jul 19, 2023
Merged

Support a --rolling option for traefik reboots #393

merged 4 commits into from
Jul 19, 2023

Conversation

lewispb
Copy link
Member

@lewispb lewispb commented Jul 19, 2023

Rolling restarts allow Traefik configuration changes without downtime with:

mrsk traefik reboot --rolling

* main:
  Removed not needed MRSK.traefik.run command in Traefil reboot
  Updated README with locking directory name
  Include service name to lock details
  Configurable SSH log levels
  Add registry container output to debug
  Minor tweaks to hooks section in readme
  Update README.md
  Updated README.md to make setup examples consistent
  Login to the registry proactively before stoping Accessory and Traefik
Copy link
Collaborator

@djmb djmb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers @lewispb! Could you also update the readme?

execute *MRSK.traefik.run, raise_on_non_zero_exit: false
end
end
end

method_option :rolling, type: :boolean, default: false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use option which is just an alias for method_option everywhere else - could you update for consistency?

@lewispb lewispb requested a review from djmb July 19, 2023 14:04
@lewispb
Copy link
Member Author

lewispb commented Jul 19, 2023

Thanks for the review @djmb. Readme updated, and option documented.

@djmb djmb merged commit 5e8df58 into basecamp:main Jul 19, 2023
6 checks passed
@lewispb lewispb deleted the rolling-traefik-restarts branch July 19, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants