binpacker

package
v0.69.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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

func SelectBinpacker(name string) *Binpacker

SelectBinpacker selects the binpack function from the given name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL