From 28b79a65f8f665fef614d12dc9c32f7c49d69de0 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Tue, 21 Apr 2020 14:02:14 -0700 Subject: [PATCH] Reformat code block and note block The note block was mistabbed, and the code block was moved into the note because of its relevence to the note. --- .../administer-cluster/kubeadm/adding-windows-nodes.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 6f551b0fb6..57e0f4fdf5 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 @@ -118,7 +118,7 @@ Once you have a Linux-based Kubernetes control-plane node you are ready to choos If you're using host-gateway use https://github.com/kubernetes-sigs/sig-windows-tools/releases/latest/download/flannel-host-gw.yml instead {{< /note >}} -{{< 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 @@ -126,12 +126,13 @@ wins cli process run --path /k/flannel/setup.exe --args "--mode=overlay --interf ``` in the `flannel-host-gw.yml` or `flannel-overlay.yml` file and specify your interface accordingly. -{{< /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 - ``` + {{< /note >}} + ### Joining a Windows worker node