Skip to main content

Config

Config is config for 'ray' plugin

Attributes

AttributeTypeDescription
ShutdownAfterJobFinishesboolDetermines whether to delete the Ray cluster once the Ray job succeeds or fails.
TTLSecondsAfterFinishedint32Specifies the time-to-live in seconds to clean up the RayCluster, effective only when ShutdownAfterJobFinishes is set to true.
ServiceTypestringDefines the Kubernetes Service Type for the Ray cluster, with valid values being 'ClusterIP', 'NodePort', and 'LoadBalancer'.
IncludeDashboardboolIf set to true, a Ray Dashboard will be started.
DashboardHoststringSpecifies the host to bind the dashboard server to, defaulting to localhost (127.0.0.1) or 0.0.0.0 for all interfaces.
DeprecatedNodeIPAddressstringSpecifies the IP address of the head node, defaulting to the pod IP address.
RemoteClusterConfigpluginmachinery.ClusterConfigConfiguration for a remote Kubernetes cluster used for Ray jobs.
Logslogs.LogConfigLog configuration settings for Ray jobs.
LogsSidecar*v1.ContainerA sidecar container to be injected into head pods for capturing Ray job logs.
DashboardURLTemplate*tasklog.TemplateLogPluginA template for the URL of the Ray dashboard running on a head node.
Defaults[DefaultConfig](defaultconfig.md?sid=flyteplugins_go_tasks_plugins_k8s_ray_defaultconfig)Default configuration settings for Ray jobs.
EnableUsageStatsboolEnables usage statistics for Ray jobs, which are submitted to usage-stats.ray.io.
ServiceAccountstringSpecifies the Kubernetes service account under which the Ray job will run.