Config
Config is config for 'ray' plugin
Attributes
| Attribute | Type | Description |
|---|---|---|
| ShutdownAfterJobFinishes | bool | Determines whether to delete the Ray cluster once the Ray job succeeds or fails. |
| TTLSecondsAfterFinished | int32 | Specifies the time-to-live in seconds to clean up the RayCluster, effective only when ShutdownAfterJobFinishes is set to true. |
| ServiceType | string | Defines the Kubernetes Service Type for the Ray cluster, with valid values being 'ClusterIP', 'NodePort', and 'LoadBalancer'. |
| IncludeDashboard | bool | If set to true, a Ray Dashboard will be started. |
| DashboardHost | string | Specifies the host to bind the dashboard server to, defaulting to localhost (127.0.0.1) or 0.0.0.0 for all interfaces. |
| DeprecatedNodeIPAddress | string | Specifies the IP address of the head node, defaulting to the pod IP address. |
| RemoteClusterConfig | pluginmachinery.ClusterConfig | Configuration for a remote Kubernetes cluster used for Ray jobs. |
| Logs | logs.LogConfig | Log configuration settings for Ray jobs. |
| LogsSidecar | *v1.Container | A sidecar container to be injected into head pods for capturing Ray job logs. |
| DashboardURLTemplate | *tasklog.TemplateLogPlugin | A 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. |
| EnableUsageStats | bool | Enables usage statistics for Ray jobs, which are submitted to usage-stats.ray.io. |
| ServiceAccount | string | Specifies the Kubernetes service account under which the Ray job will run. |