code: func (spc *realStatefulPodControl) recordPodEvent(verb string, set *apps.StatefulSet, pod *v1.Pod, err error) {
  	if err == nil {
  		reason := fmt.Sprintf("Successful%s", strings.Title(verb))
  		message := fmt.Sprintf("%s Pod %s in StatefulSet %s successful",
  			strings.ToLower(verb), pod.Name, set.Name)
  		spc.recorder.Event(set, v1.EventTypeNormal, reason, message)
  	} else {
  		reason := fmt.Sprintf("Failed%s", strings.Title(verb))
  		message := fmt.Sprintf("%s Pod %s in StatefulSet %s failed error: %s",
  			strings.ToLower(verb), pod.Name, set.Name, err)
  		spc.recorder.Event(set, v1.EventTypeWarning, reason, message)
  	}
  }
docs: // recordPodEvent records an event for verb applied to a Pod in a StatefulSet. If err is nil the generated event will
  // have a reason of v1.EventTypeNormal. If err is not nil the generated event will have a reason of v1.EventTypeWarning.