package k8s
- Alphabetic
- Public
- Protected
Type Members
- abstract class AbstractPodsAllocator extends AnyRef
:: DeveloperApi :: A abstract interface for allowing different types of pods allocation.
:: DeveloperApi :: A abstract interface for allowing different types of pods allocation.
The internal Spark implementations are StatefulSetPodsAllocator and ExecutorPodsAllocator. This may be useful for folks integrating with custom schedulers.
This API may change or be removed at anytime.
- Annotations
- @DeveloperApi()
- Since
3.3.0
- sealed trait ExecutorPodState extends AnyRef
- class ExecutorPodsAllocator extends AbstractPodsAllocator with Logging
- class ExecutorPodsPollingSnapshotSource extends Logging
:: DeveloperApi ::
:: DeveloperApi ::
A class used for polling K8s executor pods by ExternalClusterManagers.
- Annotations
- @Stable() @DeveloperApi()
- Since
3.1.3
- class ExecutorPodsWatchSnapshotSource extends Logging
:: DeveloperApi ::
:: DeveloperApi ::
A class used for watching K8s executor pods by ExternalClusterManagers.
- Annotations
- @Stable() @DeveloperApi()
- Since
3.1.3
- class ExecutorRollDriverPlugin extends DriverPlugin with Logging
- class ExecutorRollPlugin extends SparkPlugin
Spark plugin to roll executor pods periodically.
Spark plugin to roll executor pods periodically. This is independent from ExecutorPodsAllocator and aims to decommission executors one by one in both static and dynamic allocation.
To use this plugin, we assume that a user has the required maximum number of executors + 1 in both static and dynamic allocation configurations.
- sealed trait FinalPodState extends ExecutorPodState
- case class GenerateExecID(podName: String) extends Serializable with Product
- case class PodDeleted(pod: Pod) extends FinalPodState with Product with Serializable
- case class PodFailed(pod: Pod) extends FinalPodState with Product with Serializable
- case class PodPending(pod: Pod) extends ExecutorPodState with Product with Serializable
- case class PodRunning(pod: Pod) extends ExecutorPodState with Product with Serializable
- case class PodSucceeded(pod: Pod) extends FinalPodState with Product with Serializable
- case class PodTerminating(pod: Pod) extends FinalPodState with Product with Serializable
- case class PodUnknown(pod: Pod) extends ExecutorPodState with Product with Serializable
- class StatefulSetPodsAllocator extends AbstractPodsAllocator with Logging
Value Members
- object ExecutorPodsSnapshot extends Logging with Serializable