add kubespray to the XTesting as it provides newer version of kubenetes and can be...
[it/test.git] / XTesting / kubespray / test-infra / vagrant-docker / README.md
1 # vagrant docker image
2
3 This image is used for the vagrant CI jobs. It is using the libvirt driver.
4
5 ## Usage
6
7 ```console
8 $ docker run --net host --rm -it -v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock quay.io/kubespray/vagrant
9 $ vagrant up
10 Bringing machine 'k8s-1' up with 'libvirt' provider...
11 Bringing machine 'k8s-2' up with 'libvirt' provider...
12 Bringing machine 'k8s-3' up with 'libvirt' provider...
13 [...]
14 ```
15
16 ## Cache
17
18 You can set `/root/kubespray_cache` as a volume to keep cache between runs.
19
20 ## Building
21
22 ```shell
23 ./build.sh v2.12.5
24 ```