public final class JobMasterRequestObject
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static V1Container |
constructContainer()
construct a container
|
static java.util.List<V1EnvVar> |
constructEnvironmentVariables(int jvmMem)
set environment variables for containers
|
static V1PodTemplateSpec |
constructPodTemplate()
construct pod template
|
static V1Service |
createJobMasterHeadlessServiceObject()
create headless service for job master
|
static V1Service |
createJobMasterServiceObject()
create regular service for job master
|
static V1StatefulSet |
createStatefulSetObject()
create StatefulSet object for a job
|
static void |
init(Config cnfg,
java.lang.String jID) |
public static void init(Config cnfg, java.lang.String jID)
public static V1StatefulSet createStatefulSetObject()
public static V1PodTemplateSpec constructPodTemplate()
public static V1Container constructContainer()
public static java.util.List<V1EnvVar> constructEnvironmentVariables(int jvmMem)
public static V1Service createJobMasterServiceObject()
public static V1Service createJobMasterHeadlessServiceObject()