code: func (w *KubeWaiter) WaitForHealthyKubelet(initalTimeout time.Duration, healthzEndpoint string) error {
  	time.Sleep(initalTimeout)
  	fmt.Printf("[kubelet-check] Initial timeout of %v passed.\n", initalTimeout)
  	return TryRunCommand(func() error {
  		client := &http.Client{Transport: netutil.SetOldTransportDefaults(&http.Transport{})}
  		resp, err := client.Get(healthzEndpoint)
  		if err != nil {
  			fmt.Println("[kubelet-check] It seems like the kubelet isn't running or healthy.")
  			fmt.Printf("[kubelet-check] The HTTP call equal to 'curl -sSL %s' failed with error: %v.\n", healthzEndpoint, err)
  			return err
  		}
  		defer resp.Body.Close()
  		if resp.StatusCode != http.StatusOK {
  			fmt.Println("[kubelet-check] It seems like the kubelet isn't running or healthy.")
  			fmt.Printf("[kubelet-check] The HTTP call equal to 'curl -sSL %s' returned HTTP code %d\n", healthzEndpoint, resp.StatusCode)
  			return errors.New("the kubelet healthz endpoint is unhealthy")
  		}
  		return nil
  	}, 5) // a failureThreshold of five means waiting for a total of 155 seconds
  }
docs: // WaitForHealthyKubelet blocks until the kubelet /healthz endpoint returns 'ok'