Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 897 for Pods (0.05 sec)

  1. security/pkg/server/ca/node_auth.go

    			},
    			Node: pod.Spec.NodeName,
    		}}
    	})
    	return &ClusterNodeAuthorizer{
    		pods:                pods,
    		nodeIndex:           index,
    		trustedNodeAccounts: trustedNodeAccounts,
    	}
    }
    
    func (na *ClusterNodeAuthorizer) Close() {
    	na.pods.ShutdownHandlers()
    }
    
    func (na *ClusterNodeAuthorizer) HasSynced() bool {
    	return na.pods.HasSynced()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pkg/quota/v1/evaluator/core/pods_test.go

    	}{
    		{
    			name: "nil case",
    		},
    		{
    			name: "all pods in running state",
    			objs: []runtime.Object{
    				makePod("p1", "", cpu1, api.PodRunning),
    				makePod("p2", "", cpu1, api.PodRunning),
    			},
    			want: corev1.ResourceList{
    				corev1.ResourcePods:               resource.MustParse("2"),
    				corev1.ResourceName("count/pods"): resource.MustParse("2"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/types.go

    	// Overall node information.
    	node *v1.Node
    
    	// Pods running on the node.
    	Pods []*PodInfo
    
    	// The subset of pods with affinity.
    	PodsWithAffinity []*PodInfo
    
    	// The subset of pods with required anti-affinity.
    	PodsWithRequiredAntiAffinity []*PodInfo
    
    	// Ports allocated on the node.
    	UsedPorts HostPortInfo
    
    	// Total requested resources of all pods on this node. This includes assumed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/eviction_manager_test.go

    			summaryStatsMaker := makePIDStats
    			pods := []*v1.Pod{}
    			podStats := map[*v1.Pod]statsapi.PodStats{}
    			for _, podToMake := range tc.podsToMake {
    				pod, podStat := podMaker(podToMake.name, podToMake.priority, podToMake.pidUsage)
    				pods = append(pods, pod)
    				podStats[pod] = podStat
    			}
    			podToEvict := pods[tc.evictPodIndex]
    			activePodsFunc := func() []*v1.Pod { return pods }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. pkg/controller/tainteviction/taint_eviction.go

    	// getPodsAssignedToNode can be delayed as long as all future updates to pods will call
    	// tc.PodUpdated which will use tc.taintedNodes to potentially delete delayed pods.
    	pods, err := tc.getPodsAssignedToNode(node.Name)
    	if err != nil {
    		logger.Error(err, "Failed to get pods assigned to node", "node", klog.KObj(node))
    		return
    	}
    	if len(pods) == 0 {
    		return
    	}
    	// Short circuit, to make this controller a bit faster.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/authz.go

    	GetResource() schema.GroupVersionResource
    	// GetSubresource is the name of the subresource being requested.  This is a different resource, scoped to the parent resource, but it may have a different kind.
    	// For instance, /pods has the resource "pods" and the kind "Pod", while /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. pkg/controller/deployment/recreate_test.go

    			hasOldPodsRunning: false,
    		},
    		{
    			name:              "old RSs with running pods",
    			oldRSs:            []*apps.ReplicaSet{rsWithUID("some-uid"), rsWithUID("other-uid")},
    			podMap:            podMapWithUIDs([]string{"some-uid", "other-uid"}),
    			hasOldPodsRunning: true,
    		},
    		{
    			name:              "old RSs without pods but with non-zero status replicas",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. pkg/controller/deployment/rolling.go

    	//
    	// maxScaledDown := allPodsCount - minAvailable - newReplicaSetPodsUnavailable
    	// take into account not only maxUnavailable and any surge pods that have been created, but also unavailable pods from
    	// the newRS, so that the unavailable pods from the newRS would not make us scale down old replica sets in a further
    	// step(that will increase unavailability).
    	//
    	// Concrete example:
    	//
    	// * 10 replicas
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/etcd/etcd_test.go

    	tests := []struct {
    		name              string
    		pods              []testresources.FakeStaticPod
    		clientSetup       func(*clientsetfake.Clientset)
    		expectedEndpoints []string
    		expectedErr       bool
    	}{
    		{
    			name:              "no pods",
    			expectedEndpoints: []string{},
    		},
    		{
    			name: "exactly one pod with annotation",
    			pods: []testresources.FakeStaticPod{
    				{
    					NodeName:    "cp-0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. cni/pkg/repair/repair_test.go

    		})
    	}
    }
    
    func fakeClient(pods ...*corev1.Pod) kube.Client {
    	var csPods []runtime.Object
    
    	for _, pod := range pods {
    		csPods = append(csPods, pod.DeepCopy())
    	}
    	return kube.NewFakeClient(csPods...)
    }
    
    func makePodLabelMap(pods []*corev1.Pod) (podmap map[string]string) {
    	podmap = map[string]string{}
    	for _, pod := range pods {
    		podmap[pod.Name] = ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top