PrepullerBuilder¶
- class controller.services.builder.prepuller.PrepullerBuilder(metadata_storage, pull_secret=None)¶
Bases:
object
Construct Kubernetes objects used by the prepuller.
- Parameters:
metadata_storage (
MetadataStorage
) – Storage layer for pod metadata about the lab controller itself.pull_secret (
str
|None
, default:None
) – Optional name ofSecret
object to use for pulling images.
Methods Summary
build_pod
(image, node)Construct the pod object for a prepuller pod.
Methods Documentation