utils

package
v0.0.0-...-ef0451b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: EPL-2.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL