Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runCheckEtcdPhase (0.23 sec)

  1. cmd/kubeadm/app/cmd/phases/join/checketcd.go

    // before the bootstrap-kubelet phase that ensures etcd is healthy
    func NewCheckEtcdPhase() workflow.Phase {
    	return workflow.Phase{
    		Name:   "check-etcd",
    		Run:    runCheckEtcdPhase,
    		Hidden: true,
    	}
    }
    
    func runCheckEtcdPhase(c workflow.RunData) error {
    	data, ok := c.(JoinData)
    	if !ok {
    		return errors.New("check-etcd phase invoked with an invalid data struct")
    	}
    
    	// Skip if this is not a control plane
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 02 11:25:47 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top