Merge pull request #2429 from erictune/fix_birthcry

Fix namespace of minion birthcry event.
This commit is contained in:
Daniel Smith 2014-11-17 17:20:25 -08:00
commit c91306c5bd

View File

@ -1019,9 +1019,10 @@ func (kl *Kubelet) BirthCry() {
// TODO: get the real minion object of ourself,
// and use the real minion name and UID.
ref := &api.ObjectReference{
Kind: "Minion",
Name: kl.hostname,
UID: kl.hostname,
Kind: "Minion",
Name: kl.hostname,
UID: kl.hostname,
Namespace: api.NamespaceDefault,
}
record.Eventf(ref, "", "starting", "Starting kubelet.")
}