Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheImages ¶
func CacheImages(clientset *kubernetes.Clientset)
CacheImages creates the daemonset responsible for ensuring images are cached
func DeleteDaemonsetIfExists ¶
func DeleteDaemonsetIfExists(clientset *kubernetes.Clientset)
DeleteDaemonsetIfExists first checks if the daemonset exists, and deletes it if it does. Useful for ensuring no daemonset is already present from a previous rollout.
func EnsureDaemonsetExists ¶
func EnsureDaemonsetExists(clientset *kubernetes.Clientset)
EnsureDaemonsetExists checks that the daemonset is still present, and recreates it if necessary
func LogNumNodesScheduled ¶
func LogNumNodesScheduled(clientset *kubernetes.Clientset, user string)
LogNumNodesScheduled logs the basic status of the daemonset.
func RefreshCache ¶
func RefreshCache(clientset *kubernetes.Clientset)
RefreshCache forces a refresh of all pods in the daemonset, to ensure images with mutable tags (e.g. nightlies) are up-to-date.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.