Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SingleAzTightlyPack will attempt to schedule pods within a single AZ // Note that single-az-tightly-pack does not guarantee that ALL pods will be scheduled in the same AZ, please see // the SingleAzTightlyPack docs for more information (see also ShouldScheduleDynamicallyAllocatedExecutorsInSameAZ) SingleAzTightlyPack string = "single-az-tightly-pack" // SingleAzMinimalFragmentation tries to reduce spark app fragmentation by trying to fit executors on fewer hosts // when possible. Dynamically allocated executors are a bit more challenging, but generally speaking we will // attempt to schedule them on host already running executors belonging to the same app. SingleAzMinimalFragmentation string = "single-az-minimal-fragmentation" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binpacker ¶
type Binpacker struct { Name string BinpackFunc binpack.SparkBinPackFunction IsSingleAz bool }
Binpacker is a BinpackFunc with a known name
func SelectBinpacker ¶
SelectBinpacker selects the binpack function from the given name
Click to show internal directories.
Click to hide internal directories.