Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,369 for Pods (0.05 sec)

  1. manifests/charts/istio-cni/values.yaml

        resourceQuotas:
          enabled: false
          pods: 5000
    
        # The number of pods that can be unavailable during rolling update (see
        # `updateStrategy.rollingUpdate.maxUnavailable` here:
        # https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec).
        # May be specified as a number of pods or as a percent of the total number
        # of pods at the start of the update.
        rollingMaxUnavailable: 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/apis/policy/v1beta1/conversion.go

    		// If the v1beta1 version has a non-nil but empty selector, it should be
    		// selecting no pods, even when used with the internal or v1 api. We
    		// add a selector that is non-empty but will never match any pods.
    		out.Spec.Selector = policy.NonV1beta1MatchNoneSelector.DeepCopy()
    	case apiequality.Semantic.DeepEqual(in.Spec.Selector, policy.V1beta1MatchAllSelector):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 09 15:29:11 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. pkg/kube/krt/index_test.go

    )
    
    func TestIndex(t *testing.T) {
    	c := kube.NewFakeClient()
    	kpc := kclient.New[*corev1.Pod](c)
    	pc := clienttest.Wrap(t, kpc)
    	pods := krt.WrapClient[*corev1.Pod](kpc)
    	stop := test.NewStop(t)
    	c.RunAndWait(stop)
    	SimplePods := SimplePodCollection(pods)
    	tt := assert.NewTracker[string](t)
    	IPIndex := krt.NewIndex[SimplePod, string](SimplePods, func(o SimplePod) []string {
    		return []string{o.IP}
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. pkg/auth/authorizer/abac/abac_test.go

    		ExpectDecision authorizer.Decision
    	}{
    		// Scheduler can read pods
    		{User: uScheduler, Verb: "list", Resource: "pods", NS: "ns1", ExpectDecision: authorizer.DecisionAllow},
    		{User: uScheduler, Verb: "list", Resource: "pods", NS: "", ExpectDecision: authorizer.DecisionAllow},
    		// Scheduler cannot write pods
    		{User: uScheduler, Verb: "create", Resource: "pods", NS: "ns1", ExpectDecision: authorizer.DecisionNoOpinion},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 40K bytes
    - Viewed (0)
  5. pkg/controller/disruption/disruption.go

    	logger := klog.FromContext(ctx)
    	pods, err := dc.getPodsForPdb(pdb)
    	if err != nil {
    		dc.recorder.Eventf(pdb, v1.EventTypeWarning, "NoPods", "Failed to get pods: %v", err)
    		return err
    	}
    	if len(pods) == 0 {
    		dc.recorder.Eventf(pdb, v1.EventTypeNormal, "NoPods", "No matching pods found")
    	}
    
    	expectedCount, desiredHealthy, unmanagedPods, err := dc.getExpectedPodCount(ctx, pdb, pods)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio_test.go

    			name:           "resources requested, pods scheduled with more resources",
    			pods: []*v1.Pod{
    				st.MakePod().Obj(),
    			},
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			state := framework.NewCycleState()
    			snapshot := cache.NewSnapshot(test.pods, test.nodes)
    			_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/cache/cache.go

    	// status from having pods with affinity to NOT having pods with affinity or the other
    	// way around.
    	updateNodesHavePodsWithAffinity := false
    	// HavePodsWithRequiredAntiAffinityNodeInfoList must be re-created if a node changed its
    	// status from having pods with required anti-affinity to NOT having pods with required
    	// anti-affinity or the other way around.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 09:56:48 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/batch/v1/generated.proto

      optional string completionMode = 9;
    
      // suspend specifies whether the Job controller should create Pods or not. If
      // a Job is created with suspend set to true, no Pods are created by the Job
      // controller. If a Job is suspended after creation (i.e. the flag goes from
      // false to true), the Job controller will delete all active Pods associated
      // with this Job. Users must design their workload to gracefully handle this.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/replica_set.go

    		return nil
    	}
    
    	// list all pods to include the pods that don't match the rs`s selector
    	// anymore but has the stale controller ref.
    	// TODO: Do the List and Filter in a single pass, or use an index.
    	allPods, err := rsc.podLister.Pods(rs.Namespace).List(labels.Everything())
    	if err != nil {
    		return err
    	}
    	// Ignore inactive pods.
    	filteredPods := controller.FilterActivePods(logger, allPods)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    	for _, group := range groups {
    		// If there are no pods in a particular range,
    		// then do not wait for pods in that priority range.
    		if len(group.Pods) == 0 {
    			continue
    		}
    
    		var wg sync.WaitGroup
    		wg.Add(len(group.Pods))
    		for _, pod := range group.Pods {
    			go func(pod *v1.Pod, group podShutdownGroup) {
    				defer wg.Done()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
Back to top