You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
What happened
When running in Kubernetes mode, if a job fails at startup and the associated service is not deleted, it can cause errors due to service conflicts when restarting the job.
When running in Kubernetes mode, if a job fails at startup and the associated service is not deleted, it can cause errors due to service conflicts when restarting the job.
Anything else
I have two solutions to fix this issue:
1. Capture exceptions when starting a service and delete the service for all exceptions except timeouts.
2. Launch a background thread that performs a full scan of services every minute and deletes unhealthy services.
Jam804
changed the title
[Bug] [dinky-gateway] Bug title
[Bug] [dinky-gateway] In Kubernetes mode, error occurs when restarting a failed task.
Nov 26, 2024
Search before asking
What happened
When running in Kubernetes mode, if a job fails at startup and the associated service is not deleted, it can cause errors due to service conflicts when restarting the job.
What you expected to happen
Automatically delete unhealthy Kubernetes services.
How to reproduce
When running in Kubernetes mode, if a job fails at startup and the associated service is not deleted, it can cause errors due to service conflicts when restarting the job.
Anything else
I have two solutions to fix this issue:
Which approach do you think is more appropriate?
Version
dev
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: