-
Notifications
You must be signed in to change notification settings - Fork 81
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
Feat: create a net-install ISO #642
Conversation
Signed-off-by: Kiefer Chang <[email protected]>
Signed-off-by: Kiefer Chang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat!
I did a test build here and got an 839MB net-install ISO, vs. the 5.6GB regular ISO, and it runs through the interactive install quite quickly. After reboot it took a bit over 30 minutes to complete setup, although this is of course presumably due to downloading all those images over my Tasmanian internet connection :-)
A couple of questions:
- Do we need to document the net-install ISO somewhere?
- Can this work in an airgap environment, e.g.: via a proxy server?
- Is there a good way to get better deployment progress than just looking at the console and waiting for it to show "Ready"? (I know I can ssh in and do things like
journalctl -f
andkubectl get pods -A ; kubectl get deployments -A
, or runk9s
... but I don't know how to tell exactly how far along we are...)
Thanks for the reviewing!
Good idea, I'll mention the change in the release note (there is a section ISO, e.g.: https://github.com/harvester/harvester/releases/tag/v1.2.1) that we have such an ISO.
The user can mirror all images to a private registry and:
I guess this might work, but need to verify.
That's one way except there are also daemon sets. Another way is to check the fleet bundles:
Fleet keeps monitoring all resources in a helm are ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested with installation and basic operations work well.
Problem:
To create a net-install ISO.
Solution:
We can ship a net-install ISO without image tarballs since we already harvester/harvester#2670.
Related Issue:
harvester/harvester#4295
Test plan:
harvester-74e9450-dirty-amd64-net-install.iso
) and verify the installation. Both interactive mode and ipxe mode should work.Additional context
harvester.install.with_net_images=true
to GRUB menuentry in the net-install ISO. The installer only preloads theharvester-cluste-repo
image if it sees the parameter. We still preload this image to ease development.harvester.install.with_net_images=true
also works for the ordinary ISO.