Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteStaterootSetupJob(ctx context.Context, c client.Client, log logr.Logger) error
- func GetStaterootSetupJob(ctx context.Context, c client.Client, log logr.Logger) (*batchv1.Job, error)
- func LaunchStaterootSetupJob(ctx context.Context, c client.Client, ibu *ibuv1.ImageBasedUpgrade, ...) (*batchv1.Job, error)
- func ReadPrecachingList(imageListFile, clusterRegistry, seedRegistry string, overrideSeedRegistry bool) (imageList []string, err error)
- func SetupStateroot(log logr.Logger, ops ops.Ops, ostreeClient ostreeclient.IClient, ...) error
Constants ¶
View Source
const (
StaterootSetupJobName = "lca-prep-stateroot-setup"
)
Variables ¶
View Source
var StaterootSetupTerminationGracePeriodSeconds int64 = 1800
StaterootSetupTerminationGracePeriodSeconds max time wait before the stateroot job pod gets SIGKILL from k8s. Assuming the seed image is already in the system, the stateroot job should complete within this time.
Functions ¶
func DeleteStaterootSetupJob ¶
DeleteStaterootSetupJob delete the stateroot setup job
func GetStaterootSetupJob ¶
func LaunchStaterootSetupJob ¶
func ReadPrecachingList ¶
func SetupStateroot ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.