ApplicationSet suddenly deletes applications #18780
Labels
bug/in-triage
This issue needs further triage to be correctly classified
bug
Something isn't working
component:application-sets
Bulk application management related
type:bug
Checklist:
argocd version
.Describe the bug
We had a sudden deletion of a handful of applications created by appsets. The applicationset controller looks like it lost its connection to the kube-api service for less than a second. This caused errors in the application generation. The connection issue resolved quickly, but within a few seconds of the event the affected applications were deleted by the applicationset controller.
They were recreated a few seconds later, but the damage was done.
Since set the application controller policy to
create-update
and addingTo all applicationset manifests. Will that be enough to prevent deletion if this sort of error were to happen again?
To Reproduce
Break the applicationset controllers access to the local kube-api service.
Expected behavior
Expected at a minimum a retry, not application deletion.
Screenshots
Version
Logs
The API connection errors
and the deletion (app names partially redacted)
The text was updated successfully, but these errors were encountered: