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

refactor(vmi-router): Use IP from our VirtualMachine #69

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

diafour
Copy link
Member

@diafour diafour commented Apr 24, 2024

Description

  • Use status.ipaddress instead of extracting ip from huge status in Kubevirt VM.
  • Proper use of controller-runtime
  • Drop kubevirt.io/client
  • Update netlink, cilium, controller-runtime, k8 dependencies
  • Add aliases for netlink methods to develop with comfort in non-linux OSes.

Why do we need it, and what problem does it solve?

We dont'want to use kube-proxy with this component. Also, dependency hell was a tech debt.

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

@diafour diafour requested a review from fl64 April 24, 2024 14:00
- Use status.ipaddress instead of extracting ip from huge status in Kubevirt VM.
- Proper use of controller-runtime
- Drop kubevirt.io/client
- Update netlink, cilium, controller-runtime, k8 dependencies.
- Add aliases for netlink methods to develop with comfort in non-linux OSes.
- Add golang 21 base image.

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
@diafour diafour force-pushed the refactor/vmi-router-use-ip-from-dvp-vm branch from 134e718 to 7fcd9dd Compare April 25, 2024 16:57
Copy link
Member

@fl64 fl64 left a comment

Choose a reason for hiding this comment

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

It looks ok, do you think const table = 1490, should we put it as an environment variable?

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
@diafour diafour merged commit 711daca into main Apr 26, 2024
8 checks passed
@diafour diafour deleted the refactor/vmi-router-use-ip-from-dvp-vm branch May 28, 2024 10:25
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