Argo Workflows Shutdown Quick Fix - Graceful Shutdown Config
DodaTech
Updated 2026-06-26
1 min read
Argo Workflows shutdown configuration controls how workflow pods terminate. Incorrect shutdown settings cause data loss or incomplete cleanup. This guide covers the fix.
Quick Fix
Wrong
spec:
shutdown: Terminate
The Terminate shutdown Strategy immediately kills running steps without grace period. In-progress operations may be interrupted and artifacts may be corrupted.
Right
spec:
shutdown: Stop
shutdownDelay: 30s
ttlStrategy:
secondsAfterCompletion: 3600
secondsAfterSuccess: 86400
secondsAfterFailure: 604800
# Expected output after applying the fix
# Shutdown strategy: Stop (no new steps, active ones complete)
# Shutdown delay: 30s grace period
# Workflow resources retained: 1h after completion
# Successful runs: 24h retention, Failed runs: 7d retention
Prevention
- Use
Stopinstead ofTerminatefor graceful shutdown - Set
shutdownDelayfor cleanup operations - Configure
ttlStrategyfor resource retention policies - Implement pre-stop hooks in containers for cleanup
- Use
argo terminate <workflow>for emergency shutdown
DodaTech Tools
Doda Browser's shutdown manager controls workflow termination with safety checks. DodaZIP archives shutdown logs for post-mortem analysis. Durga Antivirus Pro monitors shutdown events for anomalies.
FAQ
← Previous
Argo Script Task Quick Fix - Inline Script Execution
Next →
Argo Workflows SSO Quick Fix - Single Sign-On Configuration
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro