Documentation ¶
Overview ¶
Package meta defines framework constants used as keys in k8s annotations that are attached to k8s pods. The scheduler uses some of these annotations for reconciliation upon failover. Other annotations are used as part of the host-to-pod port-mapping implementation understood by the k8s-mesos scheduler and custom endpoints-controller implementation.
Index ¶
Constants ¶
View Source
const ( BindingHostKey = "k8s.mesosphere.io/bindingHost" TaskIdKey = "k8s.mesosphere.io/taskId" SlaveIdKey = "k8s.mesosphere.io/slaveId" OfferIdKey = "k8s.mesosphere.io/offerId" ExecutorIdKey = "k8s.mesosphere.io/executorId" PortMappingKeyPrefix = "k8s.mesosphere.io/port_" PortMappingKeyFormat = PortMappingKeyPrefix + "%s_%d" PortNameMappingKeyPrefix = "k8s.mesosphere.io/portName_" PortNameMappingKeyFormat = PortNameMappingKeyPrefix + "%s_%s" )
kubernetes api object annotations
View Source
const ( //TODO(jdef) this should also be a format instead of a fixed path FrameworkIDKey = "/mesos/k8sm/frameworkid" DefaultElectionFormat = "/mesos/k8sm/framework/%s/leader" )
keys for things that we store
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.