<commit_before># Deploying virtlet as a DaemonSet

1. Start [kubeadm-dind-cluster](https://github.com/Mirants/kubeadm-dind-cluster) on [this k8s fork](https://github.com/ivan4th/kubernetes/tree/mixed-container-runtime-mode)
2. 'Virtletify' `kube-node-1`:
```
./virtletify-dind-node.sh
```
3. Create image server Deployment and Service:
```
kubectl create -f image-server.yaml -f image-service.yaml
```
4. Wait for image-server pod to become Running (this is important for virtlet initialization due to host network + cluster DNS [issue](https://github.com/kubernetes/kubernetes/issues/17406)):
```
kubectl get pods -w
```
5. Create Virtlet DaemonSet:<commit_msg>Update README.md for DIND deployment<commit_after># Deploying virtlet as a DaemonSet

1. Start [kubeadm-dind-cluster](https://github.com/Mirants/kubeadm-dind-cluster).
   Virtlet may work with other cluster deployment methods too,
   but the important part is passing
   `--feature-gates=StreamingProxyRedirects=true` to apiserver and
   `--feature-gates=DynamicKubeletConfig=true` to kubelet.
2. 'Virtletify' `kube-node-1`:
```
./virtletify-dind-node.sh
```
3. Create image server Deployment and Service:
```
kubectl create -f image-server.yaml -f image-service.yaml
```
4. Wait for image-server pod to become Running (this is important for virtlet initialization due to host network + cluster DNS [issue](https://github.com/kubernetes/kubernetes/issues/17406)):
```
kubectl get pods -w
```
5. Create Virtlet DaemonSet:
{'fraction_non_alphanumeric': 0.12887989203778677, 'fraction_numerical': 0.016194331983805668, 'mean_word_length': 4.748062015503876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2452782', 'n_tokens_mistral': 517, 'n_tokens_neox': 484, 'n_words': 139}