meta

package
Version: v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2015 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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