code: func (dc *DisruptionController) getPodStatefulSet(pod *v1.Pod) (*controllerAndScale, error) {
  	controllerRef := metav1.GetControllerOf(pod)
  	if controllerRef == nil {
  		return nil, nil
  	}
  	if controllerRef.Kind != controllerKindSS.Kind {
  		return nil, nil
  	}
  	ss, err := dc.ssLister.StatefulSets(pod.Namespace).Get(controllerRef.Name)
  	if err != nil {
  		// The only possible error is NotFound, which is ok here.
  		return nil, nil
  	}
  	if ss.UID != controllerRef.UID {
  		return nil, nil
  	}
  
  	return &controllerAndScale{ss.UID, *(ss.Spec.Replicas)}, nil
  }
docs: // getPodStatefulSet returns the statefulset managing the given pod.