Skip to content

Commit

Permalink
Shortcode fixes for ja
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbox committed Mar 12, 2023
1 parent 150cef6 commit 2a10732
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Windowsワーカーノードの(管理者)権限を持つPowerShell環境で実

```PowerShell
curl.exe -LO https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/kubeadm/scripts/PrepareNode.ps1
.\PrepareNode.ps1 -KubernetesVersion {{< param "fullversion" >}}
.\PrepareNode.ps1 -KubernetesVersion {{% param "fullversion" %}}
```

1. `kubeadm`を実行してノードに参加します
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Windowsノードをアップグレードする前にコントロールプレー
1. Windowsノードから、kubeadmをアップグレードします。:

```powershell
# {{< param "fullversion" >}}を目的のバージョンに置き換えます
curl.exe -Lo C:\k\kubeadm.exe https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubeadm.exe
# {{% param "fullversion" %}}を目的のバージョンに置き換えます
curl.exe -Lo C:\k\kubeadm.exe https://dl.k8s.io/{{% param "fullversion" %}}/bin/windows/amd64/kubeadm.exe
```

### ノードをドレインする
Expand Down Expand Up @@ -67,7 +67,7 @@ Windowsノードをアップグレードする前にコントロールプレー

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

Expand All @@ -88,5 +88,3 @@ Windowsノードをアップグレードする前にコントロールプレー
```shell
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 -
```


0 comments on commit 2a10732

Please sign in to comment.