Argo CD
Hard
Troubleshooting & Debugging
A PreSync hook Job sets ttlSecondsAfterFinished: 0 so finished Jobs vanish quickly. What problem can this cause during an Argo CD sync?
Select your answer:
Show answer and explanation
Answer: The sync can wait on a hook Job that no longer exists
Explanation
Argo CD reads the hook Job to find out whether the phase succeeded. If the TTL controller deletes the Job first, the sync can end up waiting for a hook that is gone. The Argo CD docs recommend the argocd.argoproj.io/hook-delete-policy annotation for cleanup instead of ttlSecondsAfterFinished.
More hard Argo CD questions
- What is a Sync Wave in Argo CD?
- How does Argo CD handle Kubernetes secrets?
- Which of the following is NOT a valid sync strategy in Argo CD?
- What is the purpose of resource hooks in Argo CD?
- What is the purpose of the ApplicationSet controller in Argo CD?
- Which of the following is NOT a valid generator in ApplicationSet?