prefetch

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package prefetch exports suite that can do prefetch of required images once per suite.

Index

Constants

This section is empty.

Variables

View Source
var (
	// IsExcluded is using for filtering applications that should not be used in the prefetching.
	IsExcluded = regexp.MustCompile("(.*-sriov)|(.*-vfio)").MatchString
)

Functions

This section is empty.

Types

type Config added in v1.1.0

type Config struct {
	ImagesPerDaemonset int    `default:"10" desc:"Number of images created per DaemonSet" split_words:"true"`
	Timeout            string `default:"10m" desc:"Kubectl rollout status timeout for the DaemonSet" split_words:"true"`
}

Config is env config to setup images prefetching.

type Suite

type Suite struct {
	shell.Suite
	SourcesURLs []string
}

Suite creates `prefetch` daemonset which pulls all test images for all cluster nodes.

func (*Suite) SetupSuite

func (s *Suite) SetupSuite()

SetupSuite prefetches docker images for each k8s node.

Directories

Path Synopsis
Package images provides helpful utilities for searching images for prefetching.
Package images provides helpful utilities for searching images for prefetching.
Package sriov can be used to enable prefetching of SRIOV related applications
Package sriov can be used to enable prefetching of SRIOV related applications

Jump to

Keyboard shortcuts

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