Skip to content

Conversation

@cheina97
Copy link
Member

@cheina97 cheina97 commented Oct 7, 2024

Description

This PR adds support for HA (active/passive) in liqo gateways. The "gateway" container is now the only responsible for the lease acquisition and can start the "geneve" and "wireguard" containers using IPC.

The main changes are:

  • added a "label" to target the active gateway pod (useful for gateway server services and to create internal network tunnels)
  • added a "runnable" to add and remove the "label" from the active pod when it becomes the leader (using k8s lease)
  • added an IPC (inter process communication) based on UNIX sockets shared between gateway containers

@cheina97
Copy link
Member Author

cheina97 commented Oct 7, 2024

/build

@adamjensenbot
Copy link
Collaborator

Hi @cheina97. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch (You can add the option test=true to launch the tests
    when the rebase operation is completed)
  • /merge: Merge this PR into the master branch
  • /build Build Liqo components
  • /test Launch the E2E and Unit tests
  • /hold, /unhold Add/remove the hold label to prevent merging with /merge

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • kind/breaking: 💥 Breaking Change
  • kind/feature: 🚀 New Feature
  • kind/bug: 🐛 Bug Fix
  • kind/cleanup: 🧹 Code Refactoring
  • kind/docs: 📝 Documentation

@cheina97
Copy link
Member Author

cheina97 commented Oct 7, 2024

/build

@cheina97
Copy link
Member Author

cheina97 commented Oct 7, 2024

/build

@cheina97 cheina97 force-pushed the frc/gwha branch 4 times, most recently from 9adc6c6 to 1c8044c Compare October 7, 2024 15:48
@cheina97
Copy link
Member Author

cheina97 commented Oct 7, 2024

/build

@cheina97
Copy link
Member Author

cheina97 commented Oct 7, 2024

/build

@cheina97
Copy link
Member Author

cheina97 commented Oct 7, 2024

/build

@pull-request-size pull-request-size bot added size/XL and removed size/L labels Oct 8, 2024
@cheina97
Copy link
Member Author

cheina97 commented Oct 8, 2024

/build

@cheina97 cheina97 force-pushed the frc/gwha branch 10 times, most recently from 581f370 to 3465b22 Compare October 9, 2024 16:16
@cheina97
Copy link
Member Author

/rebase test=true

@cheina97
Copy link
Member Author

/rebase test=true

@cheina97
Copy link
Member Author

/build

@cheina97
Copy link
Member Author

/build

@cheina97 cheina97 force-pushed the frc/gwha branch 3 times, most recently from 8e442d0 to 3705686 Compare October 18, 2024 16:39
@cheina97
Copy link
Member Author

/rebase test=true

@cheina97
Copy link
Member Author

/build

@cheina97
Copy link
Member Author

/rebase test=true

@cheina97
Copy link
Member Author

/rebase test=true

@cheina97
Copy link
Member Author

/rebase test=true

@cheina97
Copy link
Member Author

/merge

@adamjensenbot adamjensenbot added the merge-requested Request bot merging (automatically managed) label Oct 21, 2024
@adamjensenbot adamjensenbot merged commit a6ab756 into liqotech:master Oct 21, 2024
@adamjensenbot adamjensenbot removed the merge-requested Request bot merging (automatically managed) label Oct 21, 2024
@cheina97 cheina97 deleted the frc/gwha branch November 14, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants