Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxPodsPerChunk is the maximum number of pods we can schedule for each // chunk in case of failures. MaxPodsPerChunk = 3 // DefaultUserImage is the image used for jobs when the user does not specify // an image. DefaultUserImage = "ubuntu:16.04" )
Variables ¶
Functions ¶
func GetExpectedNumWorkers ¶ added in v1.2.0
GetExpectedNumWorkers computes the expected number of workers that pachyderm will start given the ParallelismSpec 'spec'.
This is only exported for testing
func JobRcName ¶ added in v1.3.19
JobRcName generates the name of the k8s replication controller that manages an orphan job's workers
func PipelineRcName ¶ added in v1.3.19
PipelineRcName generates the name of the k8s replication controller that manages a pipeline's workers
func RepoNameToEnvString ¶
RepoNameToEnvString is a helper which uppercases a repo name for use in environment variable names.
Types ¶
type WorkerPool ¶ added in v1.3.19
type WorkerPool interface {
DataCh() chan *datumAndResp
}
WorkerPool represents a pool of workers that can be used to process datums.
Click to show internal directories.
Click to hide internal directories.