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

Download and cache windows server ISO to preloads folder #3

Merged
merged 6 commits into from
Aug 6, 2024

Conversation

bobsira
Copy link
Owner

@bobsira bobsira commented Jul 18, 2024

We require a windows server ISO to install windows for the windows node. This PR addresses the efforts of downloading the windows iso and caching it on demand!

This PR has two triggers to download the windows iso

  1. Having the preload-windows-iso flag as true during minikube start
  2. If you explicitly specify that you want a windows node with windows os version flag during Minikube start

Example below which triggers the ISO download

minikube start --preload-windows-iso=true 
minikube start --windows-node-version='2022'

Test this PR by running any of the above commands and you should observe windows server 2022 ISO(which is the OS we currently support) in the .minikube>cache>iso>amd64 folder

iso

Windows Node Support in minikube Proposal

@bobsira bobsira changed the title Download and cache windows iso to preloads folder Download and cache windows server ISO to preloads folder Jul 18, 2024
pkg/minikube/download/download.go Outdated Show resolved Hide resolved
pkg/minikube/download/preload.go Outdated Show resolved Hide resolved
pkg/minikube/download/preload.go Outdated Show resolved Hide resolved
Copy link

@iankingori iankingori left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@CharityKathure CharityKathure left a comment

Choose a reason for hiding this comment

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

LGTM

@bobsira bobsira merged commit bad9f03 into feature/windows-node-support Aug 6, 2024
11 of 14 checks passed
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.

4 participants