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

[Feature Request]: Use KubevirtCI with a local customized Kubernetes repository #1264

Open
iholder101 opened this issue Sep 3, 2024 · 5 comments

Comments

@iholder101
Copy link
Contributor

Is your feature request related to a problem? Please describe:
I want to bring up a KubevirtCI cluster with a local Kubernetes repository.
If this would be possible, it will allow:

  1. Running KubevirtCI with a Kubernetes branch that hadn't been released yet, for example, running with Kubernetes' current master branch.
  2. Running KubevirtCI with a customized development version of Kubernetes. In other words, it would allow changing Kubernetes' code and test the changes with Kubevirt before they've been merged or accepted by Kubernetes.

As a bonus, I think that the second use-case above will also be extremely valuable for Kubernetes developers in general, as currently there is no tool that let's you easily bring up a development Kubernetes cluster based of VMs.

Describe the solution you'd like:
Ideally, I picture the following workflow:

  1. Clone Kubernetes repository.
  2. (optionally) Make code changes to Kubernetes.
  3. Use an environment variable to configure running KubevirtCI with a local Kubernetes repo, for example: export USE_LOCAL_KUBERNETES_REPO=/path/to/my/k8s/repo
  4. Use make cluster-up && make cluster-sync as usual.

Describe alternatives you've considered:
It's possible to use kind for a development Kubernetes environment, then install Kubevirt on it. However, kind's node is based on containers which bring many limitations compared to VM based nodes.

Additional context:
As written above, this has potential to help Kubernetes developers in general, not only Kubevirt devs.

@iholder101
Copy link
Contributor Author

/cc @vladikr @dhiller

@iholder101 iholder101 changed the title Use KubevirtCI with a local customized Kubernetes repository [Feature Request]: Use KubevirtCI with a local customized Kubernetes repository Sep 3, 2024
@vladikr
Copy link
Member

vladikr commented Sep 3, 2024

hmm... looks like the "local" provider was removed. #1102
It did pretty much what you are asking for.
I used it extensively in the very distant past.

@vladikr
Copy link
Member

vladikr commented Sep 3, 2024

@iholder101 maybe you want to take a look at the removed code and revive that?

@kubevirt-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@kubevirt-bot kubevirt-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 2, 2024
@iholder101
Copy link
Contributor Author

/remove-lifecycle stale

@kubevirt-bot kubevirt-bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants