code: func (pb *prober) runProbeWithRetries(probeType probeType, p *v1.Probe, pod *v1.Pod, status v1.PodStatus, container v1.Container, containerID kubecontainer.ContainerID, retries int) (probe.Result, string, error) {
  	var err error
  	var result probe.Result
  	var output string
  	for i := 0; i < retries; i++ {
  		result, output, err = pb.runProbe(probeType, p, pod, status, container, containerID)
  		if err == nil {
  			return result, output, nil
  		}
  	}
  	return result, output, err
  }
docs: // runProbeWithRetries tries to probe the container in a finite loop, it returns the last result
  // if it never succeeds.