Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WaitForAPI (0.13 sec)

  1. cmd/kubeadm/app/util/apiclient/wait.go

    	WaitForControlPlaneComponents(cfg *kubeadmapi.ClusterConfiguration) error
    	// WaitForAPI waits for the API Server's /healthz endpoint to become "ok"
    	// TODO: remove WaitForAPI once WaitForAllControlPlaneComponents goes GA:
    	// https://github.com/kubernetes/kubeadm/issues/2907
    	WaitForAPI() error
    	// WaitForPodsWithLabel waits for Pods in the kube-system namespace to become Ready
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/dryrun/dryrun.go

    func (w *Waiter) WaitForControlPlaneComponents(cfg *kubeadmapi.ClusterConfiguration) error {
    	return nil
    }
    
    // WaitForAPI just returns a dummy nil, to indicate that the program should just proceed
    func (w *Waiter) WaitForAPI() error {
    	fmt.Println("[dryrun] Would wait for the API Server's /healthz endpoint to return 'ok'")
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    	if features.Enabled(data.Cfg().ClusterConfiguration.FeatureGates, features.WaitForAllControlPlaneComponents) {
    		err = waiter.WaitForControlPlaneComponents(&data.Cfg().ClusterConfiguration)
    	} else {
    		err = waiter.WaitForAPI()
    	}
    	if err != nil {
    		return handleError(err)
    	}
    
    	return nil
    }
    
    // newControlPlaneWaiter returns a new waiter that is used to wait on the control plane to boot up.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    func (w *fakeWaiter) WaitForControlPlaneComponents(cfg *kubeadmapi.ClusterConfiguration) error {
    	return nil
    }
    
    // WaitForAPI just returns a dummy nil, to indicate that the program should just proceed
    func (w *fakeWaiter) WaitForAPI() error {
    	return nil
    }
    
    // WaitForPodsWithLabel just returns an error if set from errsToReturn
    func (w *fakeWaiter) WaitForPodsWithLabel(kvLabel string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top