code: func (kl *Kubelet) rejectPod(pod *v1.Pod, reason, message string) {
  	kl.recorder.Eventf(pod, v1.EventTypeWarning, reason, message)
  	kl.statusManager.SetPodStatus(pod, v1.PodStatus{
  		Phase:   v1.PodFailed,
  		Reason:  reason,
  		Message: "Pod " + message})
  }
docs: // rejectPod records an event about the pod with the given reason and message,
  // and updates the pod to the failed phase in the status manage.