Commit ba81c7a
authored
fix: Change script to match k8s version 1.24 (#230)
The .\PrepareNode.ps1 creates a .\StartKubelet.ps1 that uses a command which has dockershim related flags, which are removed in k8s v1.24!
(--image-pull-progress-deadline=20m and --network-plugin=cni)
Changed it to work for k8s v1.24 too
In the changelog of Kubernetes it says that:
(https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.24.md)
"Kubelet: the following dockershim related flags are also removed along with dockershim --experimental-dockershim-root-directory,
--docker-endpoint, --image-pull-progress-deadline, --network-plugin, --cni-conf-dir, --cni-bin-dir, --cni-cache-dir, --network-plugin-mtu."1 parent 23d40aa commit ba81c7a
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
95 | 104 | | |
96 | 105 | | |
| |||
104 | 113 | | |
105 | 114 | | |
106 | 115 | | |
107 | | - | |
108 | | - | |
| 116 | + | |
109 | 117 | | |
110 | 118 | | |
111 | 119 | | |
| |||
0 commit comments