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 ¶
View Source
var ( // DefaultGCPolicy is the default GC policy used by a pipeline if one is not // specified. DefaultGCPolicy = &ppsclient.GCPolicy{ Success: &google_protobuf.Duration{ Seconds: 24 * 60 * 60, }, Failure: &google_protobuf.Duration{ Seconds: 7 * 24 * 60 * 60, }, } )
Functions ¶
func GetExpectedNumWorkers ¶ added in v1.2.0
func GetExpectedNumWorkers(kubeClient *kube.Client, spec *ppsclient.ParallelismSpec) (uint64, error)
GetExpectedNumWorkers computes the expected number of workers that pachyderm will start given the ParallelismSpec 'spec'.
This is only exported for testing
func RepoNameToEnvString ¶ added in v1.1.0
RepoNameToEnvString is a helper which uppercases a repo name for use in environment variable names.
Types ¶
type APIServer ¶
type APIServer interface { ppsclient.APIServer ppsserver.InternalPodAPIServer shard.Frontend shard.Server }
APIServer represents an api server.
Click to show internal directories.
Click to hide internal directories.