-->

Label

Labels are key-value pairs that are used to group together sets of objects, very often pods. This is important for several other concepts, such as replication controller replica sets, and services that operate on dynamic groups of objects and need to identify the members of the group. There is a NxN relationship between objects and labels. Each object may have multiple labels, and each label may be applied to different objects. There are certain restrictions by design on labels. Each label on an object must have a unique key. The label key must adhere to a strict syntax. It has two parts: prefix and name. The prefix is optional. If it exists then it is separated from the name by a forward slash (/) and it must be a valid DNS sub-domain. The prefix must be 253 characters long at most. The name is mandatory and must be 63 characters long at most. Names must start and end with an alphanumeric character (a-z, A-Z, 0-9) and contain only alphanumeric characters, dots, dashes and underscores. Values follow the same restrictions as names. Note that labels are dedicated for identifying objects and not for attaching arbitrary metadata to objects. This is what annotations are for (see the following section).

Random Pic Of The Day!
Random Pic Of The Day!
Question Of The Day!

Kubernetes-Mesos in HA Configuraiton

Environment

Mesos: 0.26 Kubernetes: 1.3.0

Anyone out there using Kubernetes-Mesos framework?

Kubernetes-Mesos Question: Does current Kubernetes-Mesos support Kubernetes in HA configuration ? Having multiple Kubernetes masters talking to leader.mesos ? I tried to use it but I've got the following error on my secondary kubernetes master (trying to start km scheduler)

"mesos-master[25014]: I0405 09:54:07.523236 25020 master.cpp:2324] Framework a979cde6-aa86-4286-b07f-e83e9ae4076e-0005 (Kubernetes) at scheduler(1)@10.9.158.237:42819 failed over"

BEST ANSWER:

It not supported; only one k8sm scheduler should talk to mesos master. One option is to use Marathon to manage k8sm-xxx daemons, it will re-start k8sm master for failover.

Quote Of The Day!

The greatest success stories were created by people who recognized a problem & turned it into an opportunity.
Joseph Sugarman

Label Unknown 5 of 5
Labels are key-value pairs that are used to group together sets of objects, very often pods. This is important for several other concepts, ...

Posts relacionados: No está disponible si la entrada carece de etiquetas

0 Comentarios