Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 339 for podIps (0.15 sec)

  1. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	}
    	fx.Clear()
    }
    
    func cleanup(ki kubernetes.Interface) {
    	for _, n := range []string{"nsa", "nsb"} {
    		n := n
    		pods, err := ki.CoreV1().Pods(n).List(context.TODO(), metav1.ListOptions{})
    		if err == nil {
    			// Make sure the pods don't exist
    			for _, pod := range pods.Items {
    				_ = ki.CoreV1().Pods(pod.Namespace).Delete(context.TODO(), pod.Name, metav1.DeleteOptions{})
    			}
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/storage/eviction_test.go

    			expectError: "Cannot evict pod as it would violate the pod's disruption budget.: TooManyRequests: The disruption budget foo needs 0 healthy pods and has 0 currently",
    			podPhase:    api.PodRunning,
    			podName:     "t1",
    			policies:    []*policyv1.UnhealthyPodEvictionPolicyType{nil, unhealthyPolicyPtr(policyv1.IfHealthyBudget)}, // AlwaysAllow would terminate the pod since Running pods are not guarded by this policy
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  3. pkg/controller/job/indexed_job_utils_test.go

    			activePods := controller.FilterActivePods(logger, tc.pods)
    			failedIndexes := calculateFailedIndexes(logger, &tc.job, tc.pods)
    			_, succeededIndexes := calculateSucceededIndexes(logger, &tc.job, tc.pods)
    			jobCtx := &syncJobCtx{
    				job:                  &tc.job,
    				pods:                 tc.pods,
    				activePods:           activePods,
    				succeededIndexes:     succeededIndexes,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. plugin/pkg/admission/serviceaccount/admission.go

    // 1. If the pod does not specify a ServiceAccount, it sets the pod's ServiceAccount to "default"
    // 2. It ensures the ServiceAccount referenced by the pod exists
    // 3. If LimitSecretReferences is true, it rejects the pod if the pod references Secret objects which the pod's ServiceAccount does not reference
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    		})
    	}
    }
    
    func TestCSILimitsQHint(t *testing.T) {
    	podEbs := st.MakePod().PVC("csi-ebs.csi.aws.com-2")
    
    	tests := []struct {
    		newPod                 *v1.Pod
    		deletedPod             *v1.Pod
    		deletedPodNotScheduled bool
    		test                   string
    		wantQHint              framework.QueueingHint
    	}{
    		{
    			newPod:     podEbs.Obj(),
    			deletedPod: st.MakePod().PVC("placeholder").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    				logger.V(5).Info("a scheduled pod's label was updated and it makes the updated pod match or unmatch the pod's topology spread constraints",
    					"pod", klog.KObj(pod), "modifiedPod", klog.KObj(modifiedPod))
    				return framework.Queue, nil
    			}
    		}
    		// This modification of labels doesn't change whether this Pod would match selector or not in any constraints.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/types.go

    	// Specifies the action taken on a pod failure when the requirements are satisfied.
    	// Possible values are:
    	//
    	// - FailJob: indicates that the pod's job is marked as Failed and all
    	//   running pods are terminated.
    	// - FailIndex: indicates that the pod's index is marked as Failed and will
    	//   not be restarted.
    	//   This value is beta-level. It can be used when the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. pkg/apis/batch/types.go

    	// Specifies the action taken on a pod failure when the requirements are satisfied.
    	// Possible values are:
    	//
    	// - FailJob: indicates that the pod's job is marked as Failed and all
    	//   running pods are terminated.
    	// - FailIndex: indicates that the pod's index is marked as Failed and will
    	//   not be restarted.
    	//   This value is alpha-level. It can be used when the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"action":          "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n  running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n  not be restarted.\n  This value is beta-level. It can be used when the\n  `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).\n- Ignore: indicates...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/noderesources/fit.go

    	allowedPodNumber := nodeInfo.Allocatable.AllowedPodNumber
    	if len(nodeInfo.Pods)+1 > allowedPodNumber {
    		insufficientResources = append(insufficientResources, InsufficientResource{
    			ResourceName: v1.ResourcePods,
    			Reason:       "Too many pods",
    			Requested:    1,
    			Used:         int64(len(nodeInfo.Pods)),
    			Capacity:     int64(allowedPodNumber),
    		})
    	}
    
    	if podRequest.MilliCPU == 0 &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top