mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 16:02:19 +00:00
add more help for activating dedicated worker
This commit is contained in:
@@ -652,7 +652,14 @@
|
||||
right: 'Script is run on dedicated workers'
|
||||
}}
|
||||
/>
|
||||
|
||||
{#if script.dedicated_worker}
|
||||
<div class="py-2">
|
||||
<Alert type="info" title="Require dedicated workers">
|
||||
One worker in a worker group needs to be configured with dedicated worker
|
||||
set to: <pre>{$workspaceStore}:{script.path}</pre>
|
||||
</Alert>
|
||||
</div>
|
||||
{/if}
|
||||
<svelte:fragment slot="header">
|
||||
<Tooltip
|
||||
>In this mode, the script is meant to be run on dedicated workers that run the
|
||||
|
||||
@@ -320,7 +320,13 @@
|
||||
}}
|
||||
bind:value={nconfig.dedicated_worker}
|
||||
/>
|
||||
<p class="text-2xs text-tertiary max-w-md mt-2"
|
||||
<div class="py-2"
|
||||
><Alert
|
||||
type="info"
|
||||
title="Script's runtime setting 'dedicated worker' must be toggled on as well"
|
||||
/></div
|
||||
>
|
||||
<p class="text-2xs text-tertiary mt-2"
|
||||
>Workers will get killed upon detecting this setting change. It is assumed they are in an
|
||||
environment where the supervisor will restart them. Upon restart, they will pick the new
|
||||
dedicated worker config.</p
|
||||
|
||||
Reference in New Issue
Block a user