Documentation
¶
Index ¶
Constants ¶
View Source
const ( // owner: @rueian @kevin85421 @andrewsykim // rep: https://github.com/ray-project/enhancements/pull/54 // alpha: v1.2 // beta: v1.3 // // Enables new conditions in RayCluster status RayClusterStatusConditions featuregate.Feature = "RayClusterStatusConditions" // owner: @andrewsykim @seanlaii // rep: N/A // alpha: v1.3 // beta: v1.6 // Enables new deletion policy API in RayJob RayJobDeletionPolicy featuregate.Feature = "RayJobDeletionPolicy" // owner: @aaronliang @ryanaoleary // rep: N/A // alpha: v1.5 // beta: v1.6 // // Enables multi-host worker indexing RayMultiHostIndexing featuregate.Feature = "RayMultiHostIndexing" // owner: @ryanaoleary // rep: https://github.com/ray-project/enhancements/pull/58 // alpha: v1.5 // beta: v1.7 // // Enabled NewClusterWithIncrementalUpgrade type for RayService zero-downtime upgrades. RayServiceIncrementalUpgrade featuregate.Feature = "RayServiceIncrementalUpgrade" // owner: @machichima // rep: N/A // alpha: v1.6 // // Enables RayCronJob controller for scheduled RayJob execution. RayCronJob featuregate.Feature = "RayCronJob" // owner: @justinyeh1995 // rep: N/A // alpha: v1.7 // // Enables per-container restart policy for SidecarMode submitter to handle transient failures. // Requires Kubernetes v1.35+ since it supports ContainerRestartPolicy by default starting in v1.35 and Ray v2.54.0+. SidecarSubmitterRestart featuregate.Feature = "SidecarSubmitterRestart" // owner: @chipspeak @kryanbeane // rep: N/A // alpha: v1.7 // // Enables NetworkPolicy-based network isolation for RayClusters (spec.networkPolicy). RayClusterNetworkPolicy featuregate.Feature = "RayClusterNetworkPolicy" // owner: @jhasm // rep: https://github.com/ray-project/enhancements/pull/65 // alpha: v1.7 // // Enables the embedded RocksDB storage backend for GCS fault tolerance // (GcsFaultToleranceOptions.Backend: rocksdb). Mirrors the alpha status of the // corresponding Ray Core feature (ray-project/ray#63657). GCSFaultToleranceEmbeddedStorage featuregate.Feature = "GCSFaultToleranceEmbeddedStorage" // owner: @chipspeak @kryanbeane // rep: N/A // alpha: v1.7 // // Enables mTLS (spec.tlsOptions) for RayClusters via cert-manager. RayClusterMTLS featuregate.Feature = "RayClusterMTLS" // owner: @chiayi @Future-Outlier // rep: N/A // alpha: v1.7 // // Enables RayCluster history server collector sidecar injection (spec.historyServerOptions). RayClusterHistoryServer featuregate.Feature = "RayClusterHistoryServer" // owner: @marosset // rep: N/A // alpha: v1.7 // // Enables the Kubernetes Workload-Aware Scheduling (WAS) batch scheduler, which gang schedules // RayClusters through the in-tree scheduling.k8s.io Workload and PodGroup APIs. Enabling this gate // selects the scheduler; it is mutually exclusive with --batch-scheduler and --enable-batch-scheduler. // Requires a Kubernetes cluster that serves the scheduling.k8s.io API with GenericWorkload enabled. KubernetesWAS featuregate.Feature = "KubernetesWAS" // owner: @YoyinZyc @gangli113 // rep: https://github.com/ray-project/enhancements/pull/65 // alpha: v1.7 // // Enables active-passive head high availability for the GCS // (GcsFaultToleranceOptions.ActivePassiveHeadOptions and its leader election // tuning fields). GCSFaultToleranceActivePassiveHead featuregate.Feature = "GCSFaultToleranceActivePassiveHead" //nolint:gosec // G101 -- feature gate name, not a credential // owner: @richabanker // rep: N/A // alpha: v1.8 // // Enables selective forwarding of Kubernetes Node infrastructure events to RayCluster custom resources. RayNodeEventForwarder featuregate.Feature = "RayNodeEventForwarder" // owner: @martinlhw // rep: N/A // alpha: v1.8 // // Enables delivery of Kubernetes Node labels to Ray node labels (workerGroupSpecs[].labelRefs). // Requires ENABLE_WEBHOOKS=true and Ray 2.45.0 or later. NodeLabelDelivery featuregate.Feature = "NodeLabelDelivery" )
Variables ¶
This section is empty.
Functions ¶
func Enabled ¶
func Enabled(f featuregate.Feature) bool
Enabled is helper for `utilfeature.DefaultFeatureGate.Enabled()`
func LogFeatureGates ¶
func SetFeatureGateDuringTest ¶
func SetFeatureGateDuringTest(tb testing.TB, f featuregate.Feature, value bool)
SetFeatureGateDuringTest is a helper method to override feature gates in tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.