class LabelConstants
extends java.lang.Object
org.apache.mesos.Protos.Label
s to be included in the org.apache.mesos.Protos.TaskInfo
s of
launched tasks. These are accessible to the Scheduler, and/or to custom Executors which we are moving away from ASAP.
These are different from environment variables as they are not directly accessible to the running task itself.Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
BOOLEAN_LABEL_TRUE_VALUE
Value for boolean labels which indicates that the label applies.
|
(package private) static java.lang.String |
DCOS_SPACE_EXECUTORINFO_LABEL
Label used to indicate the "DC/OS Space".
|
(package private) static java.lang.String |
GOAL_STATE_LABEL
Identifies the goal state of this task, e.g.
|
(package private) static java.lang.String |
OFFER_ATTRIBUTES_LABEL
Storage of the original Offer's attributes (in a string representation), for use in placement constraints.
|
(package private) static java.lang.String |
OFFER_HOSTNAME_LABEL
Storage of the original Offer's hostname, for use in placement constraints.
|
(package private) static java.lang.String |
OFFER_REGION_LABEL
Storage of the original Offer's region, for use in placement constraints.
|
(package private) static java.lang.String |
OFFER_ZONE_LABEL
Storage of the original Offer's zone, for use in placement constraints.
|
(package private) static java.lang.String |
PERMANENTLY_FAILED_LABEL
Label for tracking in the state store whether a task failed.
|
(package private) static java.lang.String |
READINESS_CHECK_LABEL
Label against which the readiness check (if present) is stored.
|
(package private) static java.lang.String |
READINESS_CHECK_PASSED_LABEL
Label used to find the result of a readiness check in a TaskStatus label.
|
(package private) static java.lang.String |
RESOURCE_ID_RESERVATION_LABEL
Label used to uniquely map tasks to reserved resources.
|
(package private) static java.lang.String |
TARGET_CONFIGURATION_LABEL
Identifies the target configuration UUID used by a given task.
|
(package private) static java.lang.String |
TASK_INDEX_LABEL
Label against which the Task/Pod index (starting at 0) is stored.
|
(package private) static java.lang.String |
TASK_TYPE_LABEL
Label against which the Task/Pod Type is stored.
|
(package private) static java.lang.String |
TRANSIENT_FLAG_LABEL
Identifies a 'task' which isn't actually launched, but is instead created to fill reserved resources.
|
(package private) static java.lang.String |
VIP_BRIDGE_FLAG_VALUE |
(package private) static java.lang.String |
VIP_LABEL_PREFIX
Prefix to use for VIP labels.
|
(package private) static java.lang.String |
VIP_OVERLAY_FLAG_KEY
Label key/value to describe the type of networking to use.
|
(package private) static java.lang.String |
VIP_OVERLAY_FLAG_VALUE |
static final java.lang.String BOOLEAN_LABEL_TRUE_VALUE
static final java.lang.String GOAL_STATE_LABEL
static final java.lang.String TARGET_CONFIGURATION_LABEL
static final java.lang.String TRANSIENT_FLAG_LABEL
static final java.lang.String OFFER_ATTRIBUTES_LABEL
static final java.lang.String OFFER_HOSTNAME_LABEL
static final java.lang.String OFFER_ZONE_LABEL
static final java.lang.String OFFER_REGION_LABEL
static final java.lang.String READINESS_CHECK_LABEL
static final java.lang.String TASK_TYPE_LABEL
static final java.lang.String TASK_INDEX_LABEL
static final java.lang.String PERMANENTLY_FAILED_LABEL
static final java.lang.String READINESS_CHECK_PASSED_LABEL
static final java.lang.String RESOURCE_ID_RESERVATION_LABEL
static final java.lang.String DCOS_SPACE_EXECUTORINFO_LABEL
static final java.lang.String VIP_LABEL_PREFIX
static final java.lang.String VIP_OVERLAY_FLAG_KEY
static final java.lang.String VIP_OVERLAY_FLAG_VALUE
static final java.lang.String VIP_BRIDGE_FLAG_VALUE