{#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] } } ] : []} > Autoscaling counts waiting jobs on this group's worker tags, or on the custom tags under Advanced, and this group has neither. Agent workers don't need either to run, since their tags come from their token, but to scale on their queue set worker tags or custom tags to the tags their token was issued with. {/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}