Skip to content

Commit 51e20e9

Browse files
authored
Merge pull request #20078 from krufab/patch-2
Update adding-windows-nodes.md
2 parents e649d9e + 40ca15c commit 51e20e9

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

content/en/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,25 @@ Once you have a Linux-based Kubernetes control-plane node you are ready to choos
114114
curl -L https://github.com/kubernetes-sigs/sig-windows-tools/releases/latest/download/kube-proxy.yml | sed 's/VERSION/{{< param "fullversion" >}}/g' | kubectl apply -f -
115115
kubectl apply -f https://github.com/kubernetes-sigs/sig-windows-tools/releases/latest/download/flannel-overlay.yml
116116
```
117-
118117
{{< note >}}
119118
If you're using host-gateway use https://github.com/kubernetes-sigs/sig-windows-tools/releases/latest/download/flannel-host-gw.yml instead
120119
{{< /note >}}
121120
121+
{{< note >}}
122+
If you're using a different interface rather than Ethernet (i.e. "Ethernet0 2") on the Windows nodes, you have to modify the line:
123+
124+
```powershell
125+
wins cli process run --path /k/flannel/setup.exe --args "--mode=overlay --interface=Ethernet"
126+
```
127+
in the flannel-host-gw.yml or flannel-overlay.yml file and specify your interface accordingly.
128+
{{< /note >}}
129+
130+
```bash
131+
# Example
132+
curl -L https://github.com/kubernetes-sigs/sig-windows-tools/releases/latest/download/flannel-overlay.yml | sed 's/Ethernet/Ethernet0 2/g' | kubectl apply -f -
133+
```
134+
135+
122136
### Joining a Windows worker node
123137
{{< note >}}
124138
You must install the `Containers` feature and install Docker. Instructions

0 commit comments

Comments
 (0)