# Windows node in k8s cluster

**URL:** <https://discuss.kubernetes.io/t/windows-node-in-k8s-cluster/16376>\
**Category:** Windows\
**Created:** [June 16, 2021, 2:06pm UTC](https://discuss.kubernetes.io/t/windows-node-in-k8s-cluster/16376 "2021-06-16T14:06:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![reem](https://avatars.discourse-cdn.com/v4/letter/r/ee59a6/32.png) [@reem](https://discuss.kubernetes.io/u/reem)\
**Post date:** [June 16, 2021, 2:06pm UTC](https://discuss.kubernetes.io/t/windows-node-in-k8s-cluster/16376/1 "2021-06-16T14:06:38Z")

</div>

hello everyone,  
when were trying to adding windows node to the cluster, we try to install kubeadm.exe, kubelet.exe and other URLs in PrepareNode.ps to add it to our environment but the URLs does not exist  
such as **[https://dl.k8s.io/$KubernetesVersion/bin/windows/amd64/kubelet.exe](https://dl.k8s.io/%24KubernetesVersion/bin/windows/amd64/kubelet.exe)**

source code in this URL  
[https://github.com/kubernetes-sigs/sig-windows-tools/blob/master/kubeadm/scripts/PrepareNode.ps1](https://github.com/kubernetes-sigs/sig-windows-tools/blob/master/kubeadm/scripts/PrepareNode.ps1)

---

<div class="post-metadata">

**Author:** ![protosam](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/protosam/32/7732_2.png) [@protosam](https://discuss.kubernetes.io/u/protosam)\
**Post date:** [June 16, 2021, 4:50pm UTC](https://discuss.kubernetes.io/t/windows-node-in-k8s-cluster/16376/2 "2021-06-16T16:50:05Z")

</div>

What is the value of `$KubernetesVersion`?

> <https://github.com/kubernetes-sigs/sig-windows-tools/blob/master/kubeadm/scripts/PrepareNode.ps1#L24>

---

<div class="post-metadata">

**Author:** ![reem](https://avatars.discourse-cdn.com/v4/letter/r/ee59a6/32.png) [@reem](https://discuss.kubernetes.io/u/reem)\
**Post date:** [June 16, 2021, 5:20pm UTC](https://discuss.kubernetes.io/t/windows-node-in-k8s-cluster/16376/3 "2021-06-16T17:20:09Z")

</div>

Kubernetes version : 1.17.2

---

<div class="post-metadata">

**Author:** ![protosam](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/protosam/32/7732_2.png) [@protosam](https://discuss.kubernetes.io/u/protosam)\
**Post date:** [June 16, 2021, 7:10pm UTC](https://discuss.kubernetes.io/t/windows-node-in-k8s-cluster/16376/4 "2021-06-16T19:10:02Z")

</div>

Try `v1.17.2` instead. I figured this out from the example usage that the script provides:

```nohighlight
PS> .\PrepareNode.ps1 -KubernetesVersion v1.19.3 -ContainerRuntime containerD

```

Also the documentation [here](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/#joining-a-windows-worker-node) hints to the formatting as well.
