Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WaitForStaticPodHashChange (0.61 sec)

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

    	WaitForStaticPodSingleHash(nodeName string, component string) (string, error)
    	// WaitForStaticPodHashChange waits for the given static pod component's static pod hash to get updated.
    	// By doing that we can be sure that the kubelet has restarted the given Static Pod
    	WaitForStaticPodHashChange(nodeName, component, previousHash string) error
    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

    // but the empty strings there are needed
    func (w *Waiter) WaitForStaticPodSingleHash(_ string, _ string) (string, error) {
    	return "", nil
    }
    
    // WaitForStaticPodHashChange returns a dummy nil error in order for the flow to just continue as we're dryrunning
    func (w *Waiter) WaitForStaticPodHashChange(_, _, _ 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) WaitForStaticPodSingleHash(_ string, _ string) (string, error) {
    	return "", w.errsToReturn[waitForHashes]
    }
    
    // WaitForStaticPodHashChange returns an error if set from errsToReturn
    func (w *fakeWaiter) WaitForStaticPodHashChange(_, _, _ string) error {
    	return w.errsToReturn[waitForHashChange]
    }
    
    // WaitForHKubelet returns a dummy nil just to implement the interface
    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

    	// API endpoint below of the OLD Static Pod component and proceeds quickly enough, which might lead to unexpected results.
    	if !equal {
    		if err := waiter.WaitForStaticPodHashChange(cfg.NodeRegistration.Name, component, beforePodHash); err != nil {
    			return rollbackOldManifests(recoverManifests, err, pathMgr, recoverEtcd)
    		}
    	}
    
    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