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

feat: add keepalived to Anvil #17

Merged
merged 45 commits into from
Jul 8, 2024
Merged

Conversation

SK1Y101
Copy link
Member

@SK1Y101 SK1Y101 commented Jun 13, 2024

Add the Keepalived charm to MAAS Anvil.

Allow specifying the virtual IP

addresses #10

anvil-python/anvil/jobs/common.py Outdated Show resolved Hide resolved
anvil-python/anvil/provider/local/commands.py Outdated Show resolved Hide resolved
cloud/etc/deploy-haproxy/main.tf Outdated Show resolved Hide resolved
cloud/etc/deploy-haproxy/variables.tf Outdated Show resolved Hide resolved
anvil-python/anvil/commands/haproxy.py Outdated Show resolved Hide resolved
@SK1Y101 SK1Y101 requested a review from skatsaounis July 1, 2024 10:09
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@SK1Y101 SK1Y101 requested a review from skatsaounis July 1, 2024 15:08
@skatsaounis skatsaounis linked an issue Jul 2, 2024 that may be closed by this pull request
@SK1Y101
Copy link
Member Author

SK1Y101 commented Jul 5, 2024

@skatsaounis do these changes work for you?

@skatsaounis skatsaounis force-pushed the add-vip branch 3 times, most recently from c2105d3 to 4f7d180 Compare July 8, 2024 09:45
Copy link
Collaborator

@skatsaounis skatsaounis left a comment

Choose a reason for hiding this comment

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

LGTM with today's changes. It is also passing my local tests successfully. I can set the VIP through the CLI prompt or a manifest. Or I can proceed without specifying a VIP. When I join another haproxy node I also have the option to accept-defaults or remember the previous answer.

@SK1Y101 could you also please take a look at the changes and then merge or update any needed change? Thank you 🙂

@SK1Y101
Copy link
Member Author

SK1Y101 commented Jul 8, 2024

@skatsaounis the changes look good to me, if it passes the functional tests and you can see the expected behavior in testing I'm happy!

@skatsaounis skatsaounis changed the title feat: Add keepalived to Anvil, extend bootstrap to include --vip option feat: Add keepalived to Anvil Jul 8, 2024
@skatsaounis skatsaounis changed the title feat: Add keepalived to Anvil feat: add keepalived to Anvil Jul 8, 2024
@skatsaounis skatsaounis merged commit 0ca79d8 into canonical:main Jul 8, 2024
4 checks passed
@SK1Y101 SK1Y101 deleted the add-vip branch July 8, 2024 14:29
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.

MAAS VIP needed
2 participants