From 4014bbdfba50293714fe5aa531093fb0987b0e91 Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Tue, 6 Aug 2024 12:50:06 +0800 Subject: [PATCH] document the process of setting ttl for a ray cluster (#5636) Signed-off-by: Kevin Su --- docs/deployment/plugins/k8s/index.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/deployment/plugins/k8s/index.rst b/docs/deployment/plugins/k8s/index.rst index a46ec23815..64fbb41136 100644 --- a/docs/deployment/plugins/k8s/index.rst +++ b/docs/deployment/plugins/k8s/index.rst @@ -272,6 +272,10 @@ Specify plugin configuration - container: container - container_array: k8s-array - ray: ray + plugins: + ray: + // Shutdown Ray cluster after 1 hour of inactivity + ttlSecondsAfterFinished: 3600 .. group-tab:: Flyte core @@ -294,6 +298,10 @@ Specify plugin configuration sidecar: sidecar container_array: k8s-array ray: ray + plugins: + ray: + // Shutdown Ray cluster after 1 hour of inactivity + ttlSecondsAfterFinished: 3600 .. group-tab:: Spark