code: func newStatefulSetPod(set *apps.StatefulSet, ordinal int) *v1.Pod {
  	pod, _ := controller.GetPodFromTemplate(&set.Spec.Template, set, metav1.NewControllerRef(set, controllerKind))
  	pod.Name = getPodName(set, ordinal)
  	initIdentity(set, pod)
  	updateStorage(set, pod)
  	return pod
  }
docs: // newStatefulSetPod returns a new Pod conforming to the set's Spec with an identity generated from ordinal.