Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 966 Bytes

README.md

File metadata and controls

27 lines (25 loc) · 966 Bytes

Deploying virtlet as a DaemonSet

The steps described here are performed automatically by demo.sh script.

  1. Start kubeadm-dind-cluster with Kubernetes version 1.6 (you're not required to download it to your home directory):
$ wget -O ~/dind-cluster-v1.6.sh https://cdn.rawgit.com/Mirantis/kubeadm-dind-cluster/master/fixed/dind-cluster-v1.6.sh
$ chmod +x ~/dind-cluster-v1.6.sh
$ ~/dind-cluster-v1.6.sh up
$ export PATH="$HOME/.kubeadm-dind-cluster:$PATH"

The cluster script stores appropriate kubectl version in ~/.kubeadm-dind-cluster. 2. Label a node to accept Virtlet pod:

kubectl label node kube-node-1 extraRuntime=virtlet
  1. Deploy Virtlet DaemonSet:
kubectl create -f virtlet-ds.yaml
  1. Wait for Virtlet pod to activate:
kubectl get pods -w -n kube-system
  1. Go to examples/ directory and follow the instructions from there.