diff --git a/content/en/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes.md b/content/en/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes.md index 1195456547..28df69c13a 100644 --- a/content/en/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes.md +++ b/content/en/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes.md @@ -119,18 +119,20 @@ Once you have a Linux-based Kubernetes control-plane node you are ready to choos {{< /note >}} {{< note >}} - If you're using a different interface rather than Ethernet (i.e. "Ethernet0 2") on the Windows nodes, you have to modify the line: - - ```powershell - wins cli process run --path /k/flannel/setup.exe --args "--mode=overlay --interface=Ethernet" - ``` - in the flannel-host-gw.yml or flannel-overlay.yml file and specify your interface accordingly. +If you're using a different interface rather than Ethernet (i.e. "Ethernet0 2") on the Windows nodes, you have to modify the line: + +```powershell +wins cli process run --path /k/flannel/setup.exe --args "--mode=overlay --interface=Ethernet" +``` + +in the `flannel-host-gw.yml` or `flannel-overlay.yml` file and specify your interface accordingly. + +```bash +# Example +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 - +``` {{< /note >}} - ```bash - # Example - 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 - - ``` ### Joining a Windows worker node