Add node status update controller

This commit is contained in:
Dr. Stefan Schimanski
2015-10-22 14:48:49 -07:00
parent 0c1d90bf5f
commit 2f45d5706b
6 changed files with 281 additions and 3 deletions

View File

@@ -249,7 +249,7 @@ func parseMesosState(blob []byte) (*mesosState, error) {
// k8s instance in a cluster. At the moment this is not possible for
// a number of reasons.
// TODO(sttts): find way to detect executors of this k8s instance
if e.Name == "Kubelet-Executor" {
if e.Name == KubernetesExecutorName {
executorSlaveIds[e.SlaveId] = struct{}{}
}
}