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

Make relay init container script more resilient: #112

Merged

Conversation

jacobweinstock
Copy link
Member

@jacobweinstock jacobweinstock commented Jul 10, 2024

Description

Things like left over interfaces shouldn't cause crashloops anymore.

Note

If flipping between stack.relay.interfaceMode=macvlan and stack.relay.interfaceMode=ipvlan, the deployment strategy must be set to Recreate. This is because of a limitation in being able to create both macvlan and ipvlan interfaces with the same parent at the same time on the same node.

Why is this needed

Fixes: #110

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

@moadqassem
Copy link
Member

Very nice! thanks @jacobweinstock ❤️

Things like left over interfaces shouldn't cause
crashloops anymore.

NOTE! When flipping between stack.relay.interfaceMode=macvlan
and stack.relay.interfaceMode=ipvlan, the deployment strategy
must be set to Recreate.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock force-pushed the broadcast-interface-resilence branch from 50a05d1 to 22e6d3d Compare July 19, 2024 15:48
@jacobweinstock jacobweinstock added the ready-to-merge Mergify: Ready for Merging label Jul 19, 2024
@jacobweinstock jacobweinstock merged commit 978bc4a into tinkerbell:main Jul 19, 2024
3 checks passed
@jacobweinstock jacobweinstock deleted the broadcast-interface-resilence branch July 19, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Mergify: Ready for Merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[stack] crash loop for relay-broadcast-interface init container
2 participants