Documentation ¶
Index ¶
Constants ¶
View Source
const ( // owner: @trasc // kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/420-partial-admission // alpha: v0.4 // beta: v0.5 // // Enables partial admission. PartialAdmission featuregate.Feature = "PartialAdmission" // owner: @stuton // kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/168-pending-workloads-visibility // alpha: v0.5 // Deprecated: v0.9 // // Enables queue visibility. QueueVisibility featuregate.Feature = "QueueVisibility" // owner: @KunWuLuan // kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/582-preempt-based-on-flavor-order // beta: v0.5 // // Enables flavor fungibility. FlavorFungibility featuregate.Feature = "FlavorFungibility" // owner: @trasc // kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/1136-provisioning-request-support // alpha: v0.5 // // Enables Provisioning Admission Check Controller. ProvisioningACC featuregate.Feature = "ProvisioningACC" // owner: @pbundyra // kep: https://github.com/kubernetes-sigs/kueue/pull/1300 // alpha: v0.6 // beta: v0.9 // // Enables Kueue visibility on demand VisibilityOnDemand featuregate.Feature = "VisibilityOnDemand" // owner: @yaroslava-serdiuk // kep: https://github.com/kubernetes-sigs/kueue/issues/1283 // beta: v0.6 // // Enable priority sorting within the cohort. PrioritySortingWithinCohort featuregate.Feature = "PrioritySortingWithinCohort" // owner: @trasc // kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/693-multikueue // alpha: v0.6 // beta: v0.9 // // Enables MultiKueue support. MultiKueue featuregate.Feature = "MultiKueue" // owners: @B1F030, @kerthcet // kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/1224-lending-limit // alpha: v0.6 // beta: v0.9 // // Enables lending limit. LendingLimit featuregate.Feature = "LendingLimit" // owner: @trasc // alpha: v0.8 // // Enable the usage of batch.Job spec.managedBy field its MultiKueue integration. MultiKueueBatchJobWithManagedBy featuregate.Feature = "MultiKueueBatchJobWithManagedBy" // owner: @gabesaba // alpha: v0.8 // beta: v0.9 // stable: v0.10 // // remove in v0.12 // // Enable more than one workload sharing flavors to preempt within a Cohort, // as long as the preemption targets don't overlap. MultiplePreemptions featuregate.Feature = "MultiplePreemptions" // owner: @mimowo // alpha: v0.9 // // Enable Topology Aware Scheduling allowing to optimize placement of Pods // to put them on closely located nodes (e.g. within the same rack or block). TopologyAwareScheduling featuregate.Feature = "TopologyAwareScheduling" // owner: @dgrove-oss // kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/2937-resource-transformer // alpha: v0.9 // beta: v0.10 // // Enable applying configurable resource transformations when computing // the resource requests of a Workload ConfigurableResourceTransformations featuregate.Feature = "ConfigurableResourceTransformations" // owner: @dgrove-oss // kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/2937-resource-transformer // alpha: v0.9 // beta: v0.10 // // Summarize the resource requests of non-admitted Workloads in Workload.Status.resourceRequest // to improve observability WorkloadResourceRequestsSummary featuregate.Feature = "WorkloadResourceRequestsSummary" // owner: @mbobrovskyi // beta: v0.9 // // Enable the Flavors status field in the LocalQueue, allowing users to view // all currently available ResourceFlavors for the LocalQueue. ExposeFlavorsInLocalQueue featuregate.Feature = "ExposeFlavorsInLocalQueue" // owner: @mszadkow // alpha: v0.9 // Deprecated: v0.9 // // Enable additional AdmissionCheck validation rules that will appear in status conditions. AdmissionCheckValidationRules featuregate.Feature = "AdmissionCheckValidationRules" // owner: @pbundyra // alpha: v0.9 // Deprecated: v0.9 // // Workloads keeps allocated quota and preserves QuotaReserved=True when ProvisioningRequest fails KeepQuotaForProvReqRetry featuregate.Feature = "KeepQuotaForProvReqRetry" // owner: @dgrove-oss // kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/3589-manage-jobs-selectively // beta: v0.10 // // Enable namespace-based control of manageJobsWithoutQueueNames for all Job integrations ManagedJobsNamespaceSelector featuregate.Feature = "ManagedJobsNamespaceSelector" // owner: @kpostoffice // alpha: v0.10 // // Enabled gathering of LocalQueue metrics LocalQueueMetrics featuregate.Feature = "LocalQueueMetrics" // owner: @yaroslava-serdiuk // alpha: v0.10 // // Enable to set default LocalQueue. LocalQueueDefaulting featuregate.Feature = "LocalQueueDefaulting" )
Variables ¶
This section is empty.
Functions ¶
func Enabled ¶
func Enabled(f featuregate.Feature) bool
Enabled is helper for `utilfeature.DefaultFeatureGate.Enabled()`
func LogFeatureGates ¶ added in v0.8.0
func SetEnable ¶
func SetEnable(f featuregate.Feature, v bool) error
SetEnable helper function that can be used to set the enabled value of a feature gate, it should only be used in integration test pending the merge of https://github.com/kubernetes/kubernetes/pull/118346
func SetFeatureGateDuringTest ¶
func SetFeatureGateDuringTest(tb testing.TB, f featuregate.Feature, value bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.