Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for disruptedPods (0.22 sec)

  1. pkg/apis/policy/v1/zz_generated.conversion.go

    	out.ObservedGeneration = in.ObservedGeneration
    	out.DisruptedPods = *(*map[string]metav1.Time)(unsafe.Pointer(&in.DisruptedPods))
    	out.DisruptionsAllowed = in.DisruptionsAllowed
    	out.CurrentHealthy = in.CurrentHealthy
    	out.DesiredHealthy = in.DesiredHealthy
    	out.ExpectedPods = in.ExpectedPods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 22:32:27 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  2. pkg/apis/policy/v1beta1/zz_generated.conversion.go

    	out.ObservedGeneration = in.ObservedGeneration
    	out.DisruptedPods = *(*map[string]v1.Time)(unsafe.Pointer(&in.DisruptedPods))
    	out.DisruptionsAllowed = in.DisruptionsAllowed
    	out.CurrentHealthy = in.CurrentHealthy
    	out.DesiredHealthy = in.DesiredHealthy
    	out.ExpectedPods = in.ExpectedPods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. pkg/controller/disruption/disruption.go

    	disruptedPods := pdb.Status.DisruptedPods
    	result := make(map[string]metav1.Time)
    	var recheckTime *time.Time
    
    	if disruptedPods == nil {
    		return result, recheckTime
    	}
    	for _, pod := range pods {
    		if pod.DeletionTimestamp != nil {
    			// Already being deleted.
    			continue
    		}
    		disruptionTime, found := disruptedPods[pod.Name]
    		if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/storage/eviction.go

    		return errors.NewForbidden(policy.Resource("poddisruptionbudget"), pdb.Name, fmt.Errorf("pdb disruptions allowed is negative"))
    	}
    	if len(pdb.Status.DisruptedPods) > MaxDisruptedPodSize {
    		return errors.NewForbidden(policy.Resource("poddisruptionbudget"), pdb.Name, fmt.Errorf("DisruptedPods map too big - too many evictions not confirmed by PDB controller"))
    	}
    	if pdb.Status.DisruptionsAllowed == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/policy/v1/generated.pb.go

    	i--
    	dAtA[i] = 0x18
    	if len(m.DisruptedPods) > 0 {
    		keysForDisruptedPods := make([]string, 0, len(m.DisruptedPods))
    		for k := range m.DisruptedPods {
    			keysForDisruptedPods = append(keysForDisruptedPods, string(k))
    		}
    		github_com_gogo_protobuf_sortkeys.Strings(keysForDisruptedPods)
    		for iNdEx := len(keysForDisruptedPods) - 1; iNdEx >= 0; iNdEx-- {
    			v := m.DisruptedPods[string(keysForDisruptedPods[iNdEx])]
    			baseI := i
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/policy/v1beta1/generated.pb.go

    	i--
    	dAtA[i] = 0x18
    	if len(m.DisruptedPods) > 0 {
    		keysForDisruptedPods := make([]string, 0, len(m.DisruptedPods))
    		for k := range m.DisruptedPods {
    			keysForDisruptedPods = append(keysForDisruptedPods, string(k))
    		}
    		github_com_gogo_protobuf_sortkeys.Strings(keysForDisruptedPods)
    		for iNdEx := len(keysForDisruptedPods) - 1; iNdEx >= 0; iNdEx-- {
    			v := m.DisruptedPods[string(keysForDisruptedPods[iNdEx])]
    			baseI := i
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/policy/v1/types.go

    	// If everything goes smooth this map should be empty for the most of the time.
    	// Large number of entries in the map may indicate problems with pod deletions.
    	// +optional
    	DisruptedPods map[string]metav1.Time `json:"disruptedPods,omitempty" protobuf:"bytes,2,rep,name=disruptedPods"`
    
    	// Number of pod disruptions that are currently allowed.
    	DisruptionsAllowed int32 `json:"disruptionsAllowed" protobuf:"varint,3,opt,name=disruptionsAllowed"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/policy/v1beta1/types.go

    	// If everything goes smooth this map should be empty for the most of the time.
    	// Large number of entries in the map may indicate problems with pod deletions.
    	// +optional
    	DisruptedPods map[string]metav1.Time `json:"disruptedPods,omitempty" protobuf:"bytes,2,rep,name=disruptedPods"`
    
    	// Number of pod disruptions that are currently allowed.
    	DisruptionsAllowed int32 `json:"disruptionsAllowed" protobuf:"varint,3,opt,name=disruptionsAllowed"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go

    					continue
    				}
    
    				// Existing in DisruptedPods means it has been processed in API server,
    				// we don't treat it as a violating case.
    				if _, exist := pdb.Status.DisruptedPods[pod.Name]; exist {
    					continue
    				}
    				// Only decrement the matched pdb when it's not in its <DisruptedPods>;
    				// otherwise we may over-decrement the budget number.
    				pdbsAllowed[i]--
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 25 19:36:04 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // status information is valid only if observedGeneration equals to PDB's object generation.
      // +optional
      optional int64 observedGeneration = 1;
    
      // DisruptedPods contains information about pods whose eviction was
      // processed by the API server eviction subresource handler but has not
      // yet been observed by the PodDisruptionBudget controller.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top