Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for currentHealthy (0.47 sec)

  1. pkg/controller/disruption/disruption.go

    	// has not updated their status yet.  This isn't the only race, but it's a
    	// common one that's easy to detect.
    	disruptionsAllowed := currentHealthy - desiredHealthy
    	if expectedCount <= 0 || disruptionsAllowed <= 0 {
    		disruptionsAllowed = 0
    	}
    
    	if pdb.Status.CurrentHealthy == currentHealthy &&
    		pdb.Status.DesiredHealthy == desiredHealthy &&
    		pdb.Status.ExpectedPods == expectedCount &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/storage/eviction.go

    					updateDeletionOptions = true
    					return nil
    				}
    			}
    			// default nil and IfHealthyBudget policy
    			if pdb.Status.CurrentHealthy >= pdb.Status.DesiredHealthy && pdb.Status.DesiredHealthy > 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)
  3. staging/src/k8s.io/api/policy/v1/generated.proto

      //
      // IfHealthyBudget policy means that running pods (status.phase="Running"),
      // but not yet healthy can be evicted only if the guarded application is not
      // disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
      // Healthy pods will be subject to the PDB for eviction.
      //
      // AlwaysAllow policy means that all running pods (status.phase="Running"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/policy/v1/types_swagger_doc_generated.go

    default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 20 23:36:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/policy/v1beta1/types_swagger_doc_generated.go

    default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/policy/v1/generated.proto

      //
      // IfHealthyBudget policy means that running pods (status.phase="Running"),
      // but not yet healthy can be evicted only if the guarded application is not
      // disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
      // Healthy pods will be subject to the PDB for eviction.
      //
      // AlwaysAllow policy means that all running pods (status.phase="Running"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/policy/v1beta1/generated.proto

      //
      // IfHealthyBudget policy means that running pods (status.phase="Running"),
      // but not yet healthy can be evicted only if the guarded application is not
      // disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
      // Healthy pods will be subject to the PDB for eviction.
      //
      // AlwaysAllow policy means that all running pods (status.phase="Running"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/policy/v1/generated.pb.go

    				return fmt.Errorf("proto: wrong wireType = %d for field CurrentHealthy", wireType)
    			}
    			m.CurrentHealthy = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.CurrentHealthy |= int32(b&0x7F) << shift
    				if b < 0x80 {
    					break
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/storage/eviction_test.go

    				Status: policyv1.PodDisruptionBudgetStatus{
    					// This simulates 3 pods expected, our pod healthy, unhealthy pod is not ours.
    					DisruptionsAllowed: 0,
    					CurrentHealthy:     2,
    					DesiredHealthy:     2,
    				},
    			}},
    			eviction:            &policy.Eviction{ObjectMeta: metav1.ObjectMeta{Name: "t7", Namespace: "default"}, DeleteOptions: metav1.NewDeleteOptions(0)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/policy/v1beta1/generated.pb.go

    				return fmt.Errorf("proto: wrong wireType = %d for field CurrentHealthy", wireType)
    			}
    			m.CurrentHealthy = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.CurrentHealthy |= int32(b&0x7F) << shift
    				if b < 0x80 {
    					break
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top