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

WIP: Add vagrant version of the kicbase docker image #12185

Closed
wants to merge 1 commit into from

Conversation

afbjorklund
Copy link
Collaborator

@afbjorklund afbjorklund commented Aug 10, 2021

Only for VirtualBox and Docker, for now (PoC)

For #9992

This is probably not the final solution (running the VM with Vagrant), but allows for testing the OS - rather than a new ISO

https://github.com/kubernetes/community/blob/master/contributors/design-proposals/cluster-lifecycle/local-cluster-ux.md#vagrant

Since we are targeting a single command install/teardown experience, vagrant needs to be an implementation detail and not be exposed to our users.

The software installation was copied over to the Vagrantfile provisioner from the Dockerfile RUN, so should be the same...

Only for VirtualBox and Docker, for now (PoC)
@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 10, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afbjorklund

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 10, 2021
@afbjorklund afbjorklund removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 11, 2021
@afbjorklund
Copy link
Collaborator Author

Running with a different provider requires a different box (image), and some different configuration for provider:

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/focal64"
  config.vm.provider "virtualbox" do |vb|
    vb.cpus = 2
    vb.memory = "2048"
  end
end

https://app.vagrantup.com/ubuntu/boxes/focal64

  • virtualbox
Vagrant.configure("2") do |config|
  config.vm.box = "generic/ubuntu2004"
  config.vm.provider :libvirt do |libvirt|
    libvirt.cpus = 2
    libvirt.memory = "2048"
  end
end

https://app.vagrantup.com/generic/boxes/ubuntu2004

  • vmware_desktop
  • virtualbox
  • parallels
  • libvirt
  • hyperv

The software installation is more a question of copying/pasting from the docker installation, than anything else.

@k8s-triage-robot

This comment has been minimized.

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 9, 2021
@afbjorklund afbjorklund closed this Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants