INNER CODE UNIT · Go

waitForPodsToSchedule

jupyterhub/zero-to-jupyterhub-k8s · images/image-awaiter/main.go:113

		waitForPodsToSchedule := podSchedulingWaitDuration == -1 || i < podSchedulingWaitDuration
		if areDaemonSetPodsReady(ds, waitForPodsToSchedule) {
			log.Printf("Image download on nodes awaited successfully: shutting down!")
			break
		}

		time.Sleep(1 * time.Second)
	}
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…