@@ -67,22 +67,22 @@ First install Antrea (v0.13.0+ is required for Containerd).
6767
6868``` bash
6969# Example:
70- kubectl apply -f https://github.com/antrea-io/antrea/releases/download/v0.13 .0/antrea.yml
70+ kubectl apply -f https://github.com/antrea-io/antrea/releases/download/v1.6 .0/antrea.yml
7171```
7272
7373Then, you can run the following commands. [ nssm] ( https://nssm.cc/ ) will install Antrea as a Windows service. Please ensure
7474` nssm ` is on your machine, which is a handy tool to manage services on Windows. NOTE: ` <KubernetesVersion> ` , ` <KubeconfigPath> `
7575` <KubeProxyKubeconfigPath> ` and ` <KubeletKubeconfigPath> ` should be set by you. E.g.
7676
7777``` powershell
78- $KubernetesVersion="v1.20.4 "
78+ $KubernetesVersion="v1.23.5 "
7979$KubeConfig="C:/Users/Administrator/.kube/config" # admin kubeconfig
8080$KubeletKubeconfigPath="C:/etc/kubernetes/kubelet.conf"
8181$KubeProxyKubeconfigPath="C:/Users/Administrator/kubeproxy.conf"
8282```
8383
8484``` powershell
85- $TAG="v0.13 .0"
85+ $TAG="v1.6 .0"
8686$KubernetesVersion="<KubernetesVersion>"
8787$KubeConfig="<KubeconfigPath>"
8888$KubeletKubeconfigPath="<KubeletKubeconfigPath>"
@@ -134,7 +134,7 @@ kube-proxy version.
134134
135135``` bash
136136# Example:
137- curl -L " https://github.com/kubernetes-sigs/sig-windows-tools/releases/download/v0.1.5/kube-proxy.yml" | sed ' s/VERSION/v1.18.0 /g' > kube-proxy.yml
137+ curl -L " https://github.com/kubernetes-sigs/sig-windows-tools/releases/download/v0.1.5/kube-proxy.yml" | sed ' s/VERSION/v1.23.5 /g' > kube-proxy.yml
138138```
139139
140140Replace the content of ` run-script.ps1 ` in configmap named ` kube-proxy-windows `
@@ -184,13 +184,6 @@ spec:
184184 hostNetwork: true
185185` ` `
186186
187- If the powershell version on your Window Node is earlier than v6.0,
188- change the command from `pwsh` to `powershell` in kube-proxy.yml.
189-
190- ` ` ` bash
191- sed -i 's/pwsh/powershell/g' kube-proxy.yml
192- ` ` `
193-
194187Then apply the `kube-proxy.yml`.
195188
196189` ` ` bash
@@ -262,7 +255,7 @@ container.
262255` ` ` powershell
263256# Example:
264257curl.exe -LO "https://github.com/kubernetes-sigs/sig-windows-tools/releases/download/v0.1.5/PrepareNode.ps1"
265- .\P repareNode.ps1 -KubernetesVersion v1.18.0
258+ .\P repareNode.ps1 -KubernetesVersion v1.23.5
266259` ` `
267260
268261# ### 4. Prepare Node environment needed by antrea-agent
@@ -360,9 +353,9 @@ Nodes and Pods in your cluster by running:
360353# Show Nodes
361354kubectl get nodes -o wide -n kube-system
362355NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
363- control-plane Ready control-plane,master 1h v1.18.3 10.176.27.168 <none> Ubuntu 18 .04.3 LTS 4.15 .0-66 -generic docker://19.3.9
364- win-5akrf2tpq91 Ready <none> 1h v1.18.0 10.176.27.150 <none> Windows Server 2019 Standard Evaluation 10.0.17763.1158 docker://19.3.5
365- win-5akrf2tpq92 Ready <none> 1h v1.18.0 10.176.27.197 <none> Windows Server 2019 Standard Evaluation 10.0.17763.1158 docker://19.3.5
356+ control-plane Ready control-plane,master 1h v1.23.5 10.176.27.168 <none> Ubuntu 20 .04.3 LTS 5.11 .0-1022 -generic docker://20.10.14
357+ win-5akrf2tpq91 Ready <none> 1h v1.23.5 10.176.27.150 <none> Windows Server 2019 Standard Evaluation 10.0.17763.2686 docker://20.10.9
358+ win-5akrf2tpq92 Ready <none> 1h v1.23.5 10.176.27.197 <none> Windows Server 2019 Standard Evaluation 10.0.17763.2686 docker://20.10.9
366359
367360# Show antrea-agent and kube-proxy Pods
368361kubectl get pods -o wide -n kube-system | grep windows
0 commit comments