Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WaitForStaticPodSingleHash (0.31 sec)

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

    	// WaitForPodToDisappear waits for the given Pod in the kube-system namespace to be deleted
    	WaitForPodToDisappear(staticPodName string) error
    	// WaitForStaticPodSingleHash fetches sha256 hash for the control plane static pod
    	WaitForStaticPodSingleHash(nodeName string, component string) (string, error)
    	// WaitForStaticPodHashChange waits for the given static pod component's static pod hash to get updated.
    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

    		kubeadmconstants.KubeControllerManager: "",
    		kubeadmconstants.KubeScheduler:         "",
    	}, nil
    }
    
    // WaitForStaticPodSingleHash returns an empty hash
    // but the empty strings there are needed
    func (w *Waiter) WaitForStaticPodSingleHash(_ string, _ string) (string, error) {
    	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/phases/upgrade/staticpods_test.go

    func (w *fakeWaiter) WaitForStaticPodControlPlaneHashes(_ string) (map[string]string, error) {
    	return map[string]string{}, w.errsToReturn[waitForHashes]
    }
    
    // WaitForStaticPodSingleHash returns an error if set from errsToReturn
    func (w *fakeWaiter) WaitForStaticPodSingleHash(_ string, _ string) (string, error) {
    	return "", w.errsToReturn[waitForHashes]
    }
    
    // WaitForStaticPodHashChange returns an error if set from errsToReturn
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/upgrade/staticpods.go

    		return false, errors.Errorf("the desired etcd version %q is older than the currently installed %q. Skipping etcd upgrade", desiredEtcdVersion, currentEtcdVersionStr)
    	}
    
    	beforeEtcdPodHash, err := waiter.WaitForStaticPodSingleHash(cfg.NodeRegistration.Name, constants.Etcd)
    	if err != nil {
    		return true, err
    	}
    
    	// Write the updated etcd static Pod manifest into the temporary directory, at this point no etcd change
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top