{#snippet header()}
{ if (e.detail) { collapsed = false if (!config) { config = { enabled: true, min_workers: 3, max_workers: 10, integration: { type: 'dryrun' } } } else { config.enabled = true } } else { config = { ...(config ?? { min_workers: 3, max_workers: 10, integration: { type: 'dryrun' } }), enabled: false } } }} />
{/snippet} {#if noTagsToCount} { if (config) config.custom_tags = [...reported_tags] } } ] : []} > This group has no worker tags and no custom tags to autoscale on, so queued jobs never trigger a scale-out. Set custom tags under Advanced. For agent workers, set them to the tags in the agents' token: agents take their tags from it, not from this config, so only jobs on matching custom tags trigger a scale-out. {/if}
{:else if config.integration.type === 'kubernetes'}
Kubernetes configuration is automatically inferred from the cluster environment. The worker group name and namespace will be detected automatically.
workers
{#if healthCheckResult !== null} {#if healthCheckResult.success} Kubernetes autoscaling is healthy {:else} {healthCheckResult.error} {#if healthCheckResult.error?.includes('permissions') || healthCheckResult.error?.includes('role')}
Please follow the setup guide above to configure proper RBAC permissions. {/if} {/if}
{/if}
{:else if config.integration.type === 'dryrun'}
In dry run mode, autoscaling will be simulated and events will be logged but no actual scaling will be performed.
{/if} {:else} {#snippet children({ item })} {/snippet} {/if}