diff options
Diffstat (limited to 'src/vagrant/kubeadm_virtlet/examples/virtlet.sh')
-rwxr-xr-x | src/vagrant/kubeadm_virtlet/examples/virtlet.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vagrant/kubeadm_virtlet/examples/virtlet.sh b/src/vagrant/kubeadm_virtlet/examples/virtlet.sh new file mode 100755 index 0000000..68d738d --- /dev/null +++ b/src/vagrant/kubeadm_virtlet/examples/virtlet.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +kubectl label node worker1 extraRuntime=virtlet +kubectl label node worker2 extraRuntime=virtlet +kubectl label node worker3 extraRuntime=virtlet +kubectl create configmap -n kube-system virtlet-config --from-literal=download_protocol=http --from-literal=image_regexp_translation=1 --from-literal=disable_kvm=y +kubectl create configmap -n kube-system virtlet-image-translations --from-file images.yaml +kubectl create -f virtlet-ds.yaml +kubectl create -f cirros-vm.yaml |