-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Start VM in Harvester #7252
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
Start VM in Harvester #7252
Conversation
40074c7
to
2b2db1a
Compare
We need also a service to access the VM.
|
This introduces a new option with-vm for the build Werft job which will start a new VM in our Harvester cluster. This is a tiny step towards providing dedicated k3s clusters for preview environments. For now it only boots a VM, so this is not useable by devs yet, but it gives us something to iterate on. Part of https://github.com/gitpod-io/harvester/issues/7
d3134fb
to
832817f
Compare
/lgtm |
LGTM label has been added. Git tree hash: 4518754cf0d271a1881eb921db873744f78b1327
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: meysholdt Associated issue: #7 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
This is the initial step towards providing dedicated VMs for preview environments.
This introduces a new option with-vm for the build Werft job which will start a new VM in our Harvester cluster. This is a tiny step towards providing dedicated k3s clusters for preview environments.
For now it only boots a plain Ubuntu VM, so this is not useable by devs yet as it does not have Kubernetes running inside of it, but it gives us something to iterate on.
Related Issue(s)
Part of https://github.com/gitpod-io/harvester/issues/7
How to test
Run your job with
with-vm
, e.gThen in Harvester you should see the VM here.
From Harvester you can get a Serial Console. You can use that to install NGINX
And then you should be able to reach it at
http://mads-communicate-with-harvester.preview.gitpod-dev.com/
wheremads-communicate-with-harvester
is the name of the branch.The routing is configured in this PR.
Release Notes
Documentation
N/A
/werft with-vm