Editorial question107.6K views885 votes0 answers1,702 following
AI-generatedManual label cleanup vs automated cleanup script for Portainer scheduler
Goal: Ensure that disabling Portainer’s built‑in scheduler does not leave residual labels that could trigger unintended container restarts. When the scheduler is active, Portainer adds labels such as io.portainer.scheduler.action to managed containers to track the desired scaling state. Disabling the scheduler through the UI or API does not automatically rem