Commit f42feb1
authored
CKS: update imagePullPolicy to IfNotPresent in yaml files (#8296)
The kubernetes dashboard yaml file has the following setting
image: kubernetesui/dashboard:v2.7.0
imagePullPolicy: Always
see https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml The similar config can be found at https://raw.githubusercontent.com/weaveworks/weave/master/prog/weave-kube/weave-daemonset-k8s-1.11.yaml
Due to it, CKS does not work in the following cases
reach the dockerhub rate limitations (see https://docs.docker.com/docker-hub/download-rate-limit/)
The VMs do not have internet connection
Since the CKS ISO contains the image, it is not necessary to pull the images again.1 parent bba554b commit f42feb1
File tree
2 files changed
+18
-3
lines changed- scripts/util
- tools/marvin/marvin/config
2 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2260 | 2260 | | |
2261 | 2261 | | |
2262 | 2262 | | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
2263 | 2275 | | |
2264 | 2276 | | |
2265 | | - | |
2266 | | - | |
2267 | | - | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
2268 | 2280 | | |
2269 | 2281 | | |
2270 | 2282 | | |
| |||
0 commit comments