Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for unhealthyPodEvictionPolicy (0.33 sec)

  1. pkg/registry/policy/poddisruptionbudget/strategy_test.go

    		})
    	}
    }
    
    func unhealthyPolicyPtr(unhealthyPodEvictionPolicy policy.UnhealthyPodEvictionPolicyType) *policy.UnhealthyPodEvictionPolicyType {
    	return &unhealthyPodEvictionPolicy
    }
    
    func specWithUnhealthyPodEvictionPolicy(unhealthyPodEvictionPolicy *policy.UnhealthyPodEvictionPolicyType) *policy.PodDisruptionBudgetSpec {
    	return &policy.PodDisruptionBudgetSpec{
    		UnhealthyPodEvictionPolicy: unhealthyPodEvictionPolicy,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. pkg/apis/policy/validation/validation_test.go

    		expectErr bool
    	}{{
    		name: "valid nil UnhealthyPodEvictionPolicy",
    		pdbSpec: policy.PodDisruptionBudgetSpec{
    			MinAvailable:               &c1,
    			UnhealthyPodEvictionPolicy: nil,
    		},
    		expectErr: false,
    	}, {
    		name: "valid UnhealthyPodEvictionPolicy",
    		pdbSpec: policy.PodDisruptionBudgetSpec{
    			MinAvailable:               &c1,
    			UnhealthyPodEvictionPolicy: &alwaysAllowPolicy,
    		},
    		expectErr: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. manifests/charts/gateway/values.yaml

      #   maxUnavailable: 1
      #
      # You can also specify the `unhealthyPodEvictionPolicy` field, and the valid values are `IfHealthyBudget` and `AlwaysAllow`.
      # For example, to set the `unhealthyPodEvictionPolicy` to `AlwaysAllow`, you can update this value as follows:
      #
      # podDisruptionBudget:
      #   minAvailable: 1
      #   unhealthyPodEvictionPolicy: AlwaysAllow
      #
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 16:51:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. pkg/apis/policy/validation/validation.go

    	if spec.UnhealthyPodEvictionPolicy != nil && !supportedUnhealthyPodEvictionPolicies.Has(string(*spec.UnhealthyPodEvictionPolicy)) {
    		allErrs = append(allErrs, field.NotSupported(fldPath.Child("unhealthyPodEvictionPolicy"), *spec.UnhealthyPodEvictionPolicy, supportedUnhealthyPodEvictionPolicies.List()))
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. pkg/apis/policy/v1beta1/zz_generated.conversion.go

    	out.Selector = (*v1.LabelSelector)(unsafe.Pointer(in.Selector))
    	out.MaxUnavailable = (*intstr.IntOrString)(unsafe.Pointer(in.MaxUnavailable))
    	out.UnhealthyPodEvictionPolicy = (*policy.UnhealthyPodEvictionPolicyType)(unsafe.Pointer(in.UnhealthyPodEvictionPolicy))
    	return nil
    }
    
    // Convert_v1beta1_PodDisruptionBudgetSpec_To_policy_PodDisruptionBudgetSpec is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. 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)
  7. pkg/registry/core/pod/storage/eviction_test.go

    }
    
    func unhealthyPolicyPtr(unhealthyPodEvictionPolicy policyv1.UnhealthyPodEvictionPolicyType) *policyv1.UnhealthyPodEvictionPolicyType {
    	return &unhealthyPodEvictionPolicy
    }
    
    func unhealthyPolicyStr(unhealthyPodEvictionPolicy *policyv1.UnhealthyPodEvictionPolicyType) string {
    	if unhealthyPodEvictionPolicy == nil {
    		return "nil"
    	}
    	return string(*unhealthyPodEvictionPolicy)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/policy.v1.PodDisruptionBudget.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.yaml

      selector:
        matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchLabels:
          matchLabelsKey: matchLabelsValue
      unhealthyPodEvictionPolicy: unhealthyPodEvictionPolicyValue
    status:
      conditions:
      - lastTransitionTime: "2004-01-01T01:01:01Z"
        message: messageValue
        observedGeneration: 3
        reason: reasonValue
        status: statusValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/policy.v1.PodDisruptionBudget.yaml

      selector:
        matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchLabels:
          matchLabelsKey: matchLabelsValue
      unhealthyPodEvictionPolicy: unhealthyPodEvictionPolicyValue
    status:
      conditions:
      - lastTransitionTime: "2004-01-01T01:01:01Z"
        message: messageValue
        observedGeneration: 3
        reason: reasonValue
        status: statusValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top