Skip to content

Commit

Permalink
[zh-cn] resync: upgrading-windows-nodes.md
Browse files Browse the repository at this point in the history
Signed-off-by: Hu Shuai <hus.fnst@fujitsu.com>
  • Loading branch information
hs0210 committed Aug 10, 2022
1 parent 7bad15b commit 4490614
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ upgrade the control plane nodes before upgrading your Windows nodes.
```powershell
# replace {{< param "fullversion" >}} with your desired version
curl.exe -Lo <path-to-kubeadm.exe> https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubeadm.exe
curl.exe -Lo <path-to-kubeadm.exe> "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubeadm.exe"
```
-->
1. 在 Windows 节点上升级 kubeadm:

```powershell
# 将 {{< param "fullversion" >}} 替换为你希望的版本
curl.exe -Lo <kubeadm.exe 路径> https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubeadm.exe
curl.exe -Lo <kubeadm.exe 路径> "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubeadm.exe"
```

<!--
Expand Down Expand Up @@ -117,7 +117,7 @@ upgrade the control plane nodes before upgrading your Windows nodes.

```powershell
stop-service kubelet
curl.exe -Lo <path-to-kubelet.exe> https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubelet.exe
curl.exe -Lo <path-to-kubelet.exe> "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubelet.exe"
restart-service kubelet
```
-->
Expand All @@ -127,7 +127,7 @@ upgrade the control plane nodes before upgrading your Windows nodes.

```powershell
stop-service kubelet
curl.exe -Lo <kubelet.exe 路径> https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubelet.exe
curl.exe -Lo <kubelet.exe 路径> "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubelet.exe"
restart-service kubelet
```

Expand All @@ -136,15 +136,15 @@ upgrade the control plane nodes before upgrading your Windows nodes.

```powershell
stop-service kube-proxy
curl.exe -Lo <path-to-kube-proxy.exe> https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kube-proxy.exe
curl.exe -Lo <path-to-kube-proxy.exe> "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kube-proxy.exe"
restart-service kube-proxy
```
-->
2. 在 Windows 节点上升级并重启 kube-proxy:

```powershell
stop-service kube-proxy
curl.exe -Lo <kube-proxy.exe 路径> https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kube-proxy.exe
curl.exe -Lo <kube-proxy.exe 路径> "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kube-proxy.exe"
restart-service kube-proxy
```

Expand Down

0 comments on commit 4490614

Please sign in to comment.