mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 06:56:29 +00:00
Always try to pull
This commit is contained in:
@@ -312,9 +312,6 @@ func (c *Cluster) PrePullK8sImages(ctx context.Context) error {
|
||||
var errgrp errgroup.Group
|
||||
hosts := hosts.GetUniqueHostList(c.EtcdHosts, c.ControlPlaneHosts, c.WorkerHosts)
|
||||
for _, host := range hosts {
|
||||
if !host.UpdateWorker {
|
||||
continue
|
||||
}
|
||||
runHost := host
|
||||
errgrp.Go(func() error {
|
||||
return docker.UseLocalOrPull(ctx, runHost.DClient, runHost.Address, c.SystemImages.Kubernetes, "pre-deploy", c.PrivateRegistriesMap)
|
||||
|
Reference in New Issue
Block a user