events

package
v0.38.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmitApplicationScheduled

func EmitApplicationScheduled(
	ctx context.Context,
	instanceGroup string,
	sparkAppID string,
	pod v1.Pod,
	driverResources *resources.Resources,
	executorResources *resources.Resources,
	minExecutorCount int,
	maxExecutorCount int,
)

EmitApplicationScheduled logs an event when an application has been successfully scheduled. This usually means we have created the necessary resource reservations for the driver and all executors.

func EmitDemandCreated

func EmitDemandCreated(ctx context.Context, demand *v1alpha2.Demand)

EmitDemandCreated logs an event when we create a Demand object for an application. This means that we have asked the cluster for more resources than are currently provisioned.

func EmitDemandDeleted

func EmitDemandDeleted(ctx context.Context, demand *v1alpha2.Demand, source string)

EmitDemandDeleted logs an event when we delete a Demand object for an application. This means that we have relinquished our request for more resources than are currently provisioned, either because we don't need them anymore or because we have received the resources we requested.

Types

This section is empty.

Jump to

Keyboard shortcuts

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