Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for runningpods (0.32 sec)

  1. pkg/kubelet/userns/userns_manager_test.go

    			podSetBeforeCleanup:  []types.UID{"pod-1", "pod-2"},
    			runningPods:          []*kubecontainer.Pod{{ID: "pod-1"}},
    			podSetAfterCleanup:   []types.UID{"pod-1"},
    			podUnsetAfterCleanup: []types.UID{"pod-2"},
    		},
    		{
    			name:                 "pod set before cleanup but not listed ==> unset",
    			podSetBeforeCleanup:  []types.UID{"pod-1", "pod-2"},
    			runningPods:          []*kubecontainer.Pod{{ID: "pod-1"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. pkg/kubelet/server/auth_test.go

    		"/portForward/{podNamespace}/{podID}/{uid}":         "proxy",
    		"/run/{podNamespace}/{podID}/{containerName}":       "proxy",
    		"/run/{podNamespace}/{podID}/{uid}/{containerName}": "proxy",
    		"/runningpods/":  "proxy",
    		"/stats/":        "stats",
    		"/stats/summary": "stats",
    	}
    	testCases := []AuthzTestCase{}
    	for path, subresource := range testPaths {
    		testCases = append(testCases,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_volumes.go

    func (kl *Kubelet) cleanupOrphanedPodDirs(pods []*v1.Pod, runningPods []*kubecontainer.Pod) error {
    	allPods := sets.New[string]()
    	for _, pod := range pods {
    		allPods.Insert(string(pod.UID))
    	}
    	for _, pod := range runningPods {
    		allPods.Insert(string(pod.ID))
    	}
    
    	found, err := kl.listPodsFromDisk()
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. pkg/kubelet/server/server.go

    	s.restfulCont.Add(ws)
    
    	s.addMetricsBucketMatcher("configz")
    	configz.InstallHandler(s.restfulCont)
    
    	// The /runningpods endpoint is used for testing only.
    	s.addMetricsBucketMatcher("runningpods")
    	ws = new(restful.WebService)
    	ws.
    		Path("/runningpods/").
    		Produces(restful.MIME_JSON)
    	ws.Route(ws.GET("").
    		To(s.getRunningPods).
    		Operation("getRunningPods"))
    	s.restfulCont.Add(ws)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  5. pkg/kubelet/userns/userns_manager.go

    	if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesSupport) {
    		return nil
    	}
    
    	m.lock.Lock()
    	defer m.lock.Unlock()
    
    	allPods := sets.New[string]()
    	for _, pod := range pods {
    		allPods.Insert(string(pod.UID))
    	}
    	for _, pod := range runningPods {
    		allPods.Insert(string(pod.ID))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. pkg/kubelet/server/server_test.go

    		"run with uid":                    {url: "/run/podNamespace/podID/uid/containerName", bucket: "run"},
    		"runningpods":                     {url: "/runningpods/", bucket: "runningpods"},
    		"stats":                           {url: "/stats/", bucket: "stats"},
    		"stats summary sub":               {url: "/stats/summary", bucket: "stats"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods.go

    				RunningPod:     runningPod,
    				KillPodOptions: killPodOptions,
    			})
    
    			// the running pod is now known as well
    			workingPods[runningPod.ID] = PodWorkerSync{State: TerminatingPod, Orphan: true}
    			orphanCount++
    		}
    	}
    	metrics.OrphanedRuntimePodTotal.Add(float64(orphanCount))
    
    	// Now that we have recorded any terminating pods, and added new pods that should be running,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  8. pkg/kubelet/pod_workers.go

    	var uid types.UID
    	var name, ns string
    	if runningPod := options.RunningPod; runningPod != nil {
    		if options.Pod == nil {
    			// the sythetic pod created here is used only as a placeholder and not tracked
    			if options.UpdateType != kubetypes.SyncPodKill {
    				klog.InfoS("Pod update is ignored, runtime pods can only be killed", "pod", klog.KRef(runningPod.Namespace, runningPod.Name), "podUID", runningPod.ID, "updateType", options.UpdateType)
    				return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  9. pkg/bootstrap/testdata/runningsds.proxycfg

    Rama Chavali <******@****.***> 1671589100 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 02:18:20 UTC 2022
    - 483 bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    		{
    			newPod:       csiEBSOneVolPod,
    			existingPods: []*v1.Pod{runningPod, csiEBSTwoVolPod},
    			filterName:   "csi",
    			maxVols:      4,
    			driverNames:  []string{ebsCSIDriverName},
    			test:         "fits when node volume limit >= new pods CSI volume",
    			limitSource:  "node",
    		},
    		{
    			newPod:       csiEBSOneVolPod,
    			existingPods: []*v1.Pod{runningPod, csiEBSTwoVolPod},
    			filterName:   "csi",
    			maxVols:      2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top