Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for currentHealthy (0.36 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. pkg/registry/policy/poddisruptionbudget/strategy_test.go

    		Status: policy.PodDisruptionBudgetStatus{
    			DisruptionsAllowed: 0,
    			CurrentHealthy:     2,
    			DesiredHealthy:     3,
    			ExpectedPods:       3,
    		},
    	}
    	StatusStrategy.PrepareForUpdate(ctx, newPdb, oldPdb)
    	if newPdb.Status.CurrentHealthy != 2 {
    		t.Errorf("PodDisruptionBudget status updates should allow change of CurrentHealthy: %v", newPdb.Status.CurrentHealthy)
    	}
    	if newPdb.Spec.MinAvailable.IntValue() != 3 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/policy/v1/types.go

    	DisruptionsAllowed int32 `json:"disruptionsAllowed" protobuf:"varint,3,opt,name=disruptionsAllowed"`
    
    	// current number of healthy pods
    	CurrentHealthy int32 `json:"currentHealthy" protobuf:"varint,4,opt,name=currentHealthy"`
    
    	// minimum desired number of healthy pods
    	DesiredHealthy int32 `json:"desiredHealthy" protobuf:"varint,5,opt,name=desiredHealthy"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.yaml

    status:
      conditions:
      - lastTransitionTime: "2004-01-01T01:01:01Z"
        message: messageValue
        observedGeneration: 3
        reason: reasonValue
        status: statusValue
        type: typeValue
      currentHealthy: 4
      desiredHealthy: 5
      disruptedPods:
        disruptedPodsKey: null
      disruptionsAllowed: 3
      expectedPods: 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1.PodDisruptionBudget.yaml

    status:
      conditions:
      - lastTransitionTime: "2004-01-01T01:01:01Z"
        message: messageValue
        observedGeneration: 3
        reason: reasonValue
        status: statusValue
        type: typeValue
      currentHealthy: 4
      desiredHealthy: 5
      disruptedPods:
        disruptedPodsKey: null
      disruptionsAllowed: 3
      expectedPods: 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1.PodDisruptionBudget.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top