c12s-kubespray/test-infra/vagrant-docker
Kenichi Omichi c2fb1a0747
Add VAGRANT_ANSIBLE_TAGS for normal deployment (#8697)
Current ansible.tags 'facts' is for skipping actual Kubespray deployment
at vagrant CI because the deployment takes much time. However the static
'facts' skips the deployment for normal usage of vagrant also.
That causes confusions.

This adds VAGRANT_ANSIBLE_TAGS to skip the deployment for vagrant CI.
2022-04-08 23:58:04 -07:00
..
build.sh Add Dockerfile for vagrant image (#5977) 2020-04-18 13:53:36 -07:00
Dockerfile Add VAGRANT_ANSIBLE_TAGS for normal deployment (#8697) 2022-04-08 23:58:04 -07:00
README.md Add Dockerfile for vagrant image (#5977) 2020-04-18 13:53:36 -07:00

vagrant docker image

This image is used for the vagrant CI jobs. It is using the libvirt driver.

Usage

$ docker run --net host --rm -it -v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock quay.io/kubespray/vagrant
$ vagrant up
Bringing machine 'k8s-1' up with 'libvirt' provider...
Bringing machine 'k8s-2' up with 'libvirt' provider...
Bringing machine 'k8s-3' up with 'libvirt' provider...
[...]

Cache

You can set /root/kubespray_cache as a volume to keep cache between runs.

Building

./build.sh v2.12.5