Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for cleanupnode (0.28 sec)

  1. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    )
    
    // NewCleanupNodePhase creates a kubeadm workflow phase that cleanup the node
    func NewCleanupNodePhase() workflow.Phase {
    	return workflow.Phase{
    		Name:    "cleanup-node",
    		Aliases: []string{"cleanupnode"},
    		Short:   "Run cleanup node.",
    		Run:     runCleanupNode,
    		InheritFlags: []string{
    			options.CertificatesDir,
    			options.NodeCRISocket,
    			options.CleanupTmpDir,
    			options.DryRun,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. pkg/kubelet/prober/testing/fake_manager.go

    func (FakeManager) RemovePod(_ *v1.Pod) {}
    
    // Simulated stopping liveness and startup probes.
    func (FakeManager) StopLivenessAndStartup(_ *v1.Pod) {}
    
    // CleanupPods simulates cleaning up Pods.
    func (FakeManager) CleanupPods(_ map[types.UID]sets.Empty) {}
    
    // Start simulates start syncing the probe status
    func (FakeManager) Start() {}
    
    // UpdatePodStatus simulates updating the Pod Status.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/git/internal/SourceDependencyCleanupIntegrationTest.groovy

            trashFile.text = "junk"
    
            when:
            succeeds("assertVersion", "-PrepoVersion=1.0")
            then:
            trashFile.assertExists()
    
            when:
            cleanupNow()
            succeeds("assertVersion", "-PrepoVersion=1.0")
            then:
            // checkout was used recently, so it should still be kept around
            trashFile.assertExists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. internal/grid/debug.go

    // TestGrid contains a grid of servers for testing purposes.
    type TestGrid struct {
    	Servers     []*httptest.Server
    	Listeners   []net.Listener
    	Managers    []*Manager
    	Mux         []*mux.Router
    	Hosts       []string
    	cleanupOnce sync.Once
    	cancel      context.CancelFunc
    }
    
    // SetupTestGrid creates a new grid for testing purposes.
    // Select the number of hosts to create.
    // Call (TestGrid).Cleanup() when done.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/prober_manager.go

    	// deleting cached results.
    	RemovePod(pod *v1.Pod)
    
    	// CleanupPods handles cleaning up pods which should no longer be running.
    	// It takes a map of "desired pods" which should not be cleaned up.
    	CleanupPods(desiredPods map[types.UID]sets.Empty)
    
    	// UpdatePodStatus modifies the given PodStatus with the appropriate Ready state for each
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/jquery.jstree.js

    				else {
    					if(!obj.np.children("ul").length) { $("<ul />").appendTo(obj.np); }
    					obj.np.children("ul:eq(0)").append(o);
    				}
    
    				try {
    					obj.ot.clean_node(obj.op);
    					obj.rt.clean_node(obj.np);
    					if(!obj.op.find("> ul > li").length) {
    						obj.op.removeClass("jstree-open jstree-closed").addClass("jstree-leaf").children("ul").remove();
    					}
    				} catch (e) { }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 09:03:42 UTC 2021
    - 49.5K bytes
    - Viewed (0)
  7. pkg/kubelet/prober/prober_manager_test.go

    				StartupProbe: defaultProbe,
    			}},
    		},
    	}
    	m.AddPod(&podToCleanup)
    	m.AddPod(&podToKeep)
    
    	desiredPods := map[types.UID]sets.Empty{}
    	desiredPods[podToKeep.UID] = sets.Empty{}
    	m.CleanupPods(desiredPods)
    
    	removedProbes := []probeKey{
    		{"pod_cleanup", "prober1", readiness},
    		{"pod_cleanup", "prober2", liveness},
    		{"pod_cleanup", "prober3", startup},
    	}
    	expectedProbes := []probeKey{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  8. src/testing/testing.go

    	n := runtime.Callers(2, pc[:])
    	cleanupPc := pc[:n]
    
    	fn := func() {
    		defer func() {
    			c.mu.Lock()
    			defer c.mu.Unlock()
    			c.cleanupName = ""
    			c.cleanupPc = nil
    		}()
    
    		name := callerName(0)
    		c.mu.Lock()
    		c.cleanupName = name
    		c.cleanupPc = cleanupPc
    		c.mu.Unlock()
    
    		f()
    	}
    
    	c.mu.Lock()
    	defer c.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    	if err != nil {
    		klog.ErrorS(err, "Error listing containers")
    		return err
    	}
    
    	// Stop probing pods that are not running
    	klog.V(3).InfoS("Clean up probes for terminated pods")
    	kl.probeManager.CleanupPods(possiblyRunningPods)
    
    	// Remove orphaned pod statuses not in the total list of known config pods
    	klog.V(3).InfoS("Clean up orphaned pod statuses")
    	kl.removeOrphanedPodStatuses(allPods, mirrorPods)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top