Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 591 for Pods (0.04 sec)

  1. pkg/kubelet/container/testing/fake_runtime.go

    	f.Lock()
    	defer f.Unlock()
    
    	var pods []*kubecontainer.Pod
    
    	f.CalledFunctions = append(f.CalledFunctions, "GetPods")
    	if all {
    		for _, fakePod := range f.AllPodList {
    			pods = append(pods, fakePod.Pod)
    		}
    	} else {
    		for _, fakePod := range f.PodList {
    			pods = append(pods, fakePod.Pod)
    		}
    	}
    	return pods, f.Err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/networking/v1/generated.proto

    message NetworkPolicyPeer {
      // podSelector is a label selector which selects pods. This field follows standard label
      // selector semantics; if present but empty, it selects all pods.
      //
      // If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects
      // the pods matching podSelector in the Namespaces selected by NamespaceSelector.
      // Otherwise it selects the pods matching podSelector in the policy's own namespace.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. pkg/controller/deployment/deployment_controller.go

    	// Get all Pods that potentially belong to this Deployment.
    	selector, err := metav1.LabelSelectorAsSelector(d.Spec.Selector)
    	if err != nil {
    		return nil, err
    	}
    	pods, err := dc.podLister.Pods(d.Namespace).List(selector)
    	if err != nil {
    		return nil, err
    	}
    	// Group Pods by their controller (if it's in rsList).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils_test.go

    				Labels:    rc.Spec.Selector,
    				Namespace: rc.Namespace,
    			},
    			Status: v1.PodStatus{Phase: status},
    		}
    		if store != nil {
    			store.Add(&newPod)
    		}
    		pods = append(pods, newPod)
    	}
    	return &v1.PodList{
    		Items: pods,
    	}
    }
    
    func newReplicaSet(name string, replicas int, rsUuid types.UID) *apps.ReplicaSet {
    	return &apps.ReplicaSet{
    		TypeMeta: metav1.TypeMeta{APIVersion: "v1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. pkg/scheduler/extender_test.go

    			nodeNameToVictims: map[string]*extenderv1.Victims{
    				"node1": {
    					Pods: []*v1.Pod{
    						st.MakePod().Name("pod1").UID("uid1").Obj(),
    						st.MakePod().Name("pod3").UID("uid3").Obj(),
    					},
    					NumPDBViolations: 1,
    				},
    				"node2": {
    					Pods: []*v1.Pod{
    						st.MakePod().Name("pod2").UID("uid2").Obj(),
    						st.MakePod().Name("pod4").UID("uid4").Obj(),
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/addons/dns/dns_test.go

               pods insecure
               upstream
               fallthrough in-addr.arpa ip6.arpa
               ttl 30
            }
            health
        }
    `,
    			expectedCorefileData: `.:53 {
        errors
        health {
           lameduck 5s
        }
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
           pods insecure
           fallthrough in-addr.arpa ip6.arpa
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. pkg/kubelet/userns/userns_manager.go

    		Gids: gids,
    	}, nil
    }
    
    // CleanupOrphanedPodUsernsAllocations reconciliates the state of user namespace
    // allocations with the pods actually running. It frees any user namespace
    // allocation for orphaned pods.
    func (m *UsernsManager) CleanupOrphanedPodUsernsAllocations(pods []*v1.Pod, runningPods []*kubecontainer.Pod) error {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesSupport) {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    // preemption algorithm, in particular the following 2 facts:
    // Fact 1: we only preempt pods on the same node, instead of pods on multiple nodes.
    // Fact 2: each node is evaluated on a separate copy of the preFilterState during its preemption cycle.
    // If we plan to turn to a more complex algorithm like "arbitrary pods on multiple nodes", this
    // structure needs to be revisited.
    // Fields are exported for comparison during testing.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  9. pkg/kubelet/apis/config/types.go

    	// Defaults to 0 seconds.
    	// For example, if ShutdownGracePeriod=30s, and ShutdownGracePeriodCriticalPods=10s, during a node shutdown the first 20 seconds would be reserved for gracefully terminating normal pods, and the last 10 seconds would be reserved for terminating critical pods.
    	// +featureGate=GracefulNodeShutdown
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_volumes_test.go

    				},
    			},
    		},
    	}
    
    	stopCh := runVolumeManager(kubelet)
    	defer close(stopCh)
    
    	kubelet.podManager.SetPods(pods)
    	for _, pod := range pods {
    		err := kubelet.volumeManager.WaitForAttachAndMount(context.Background(), pod)
    		assert.NoError(t, err)
    	}
    
    	for _, pod := range pods {
    		podVolumesExist := kubelet.podVolumesExist(pod.UID)
    		assert.True(t, podVolumesExist, "pod %q", pod.UID)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top