8000 Monitor deployed tasks and update status in case of crashes by openwithcode · Pull Request #404 · cisco-open/flame · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Monitor deployed tasks and update status in case of crashes #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2023

Conversation

openwithcode
Copy link
Contributor

When we deploy tasks thru deployer, we don't actually monitor if the given created pod crashes after it has been created.
To solve this we now retrieve the running jobs from controller to deployer service, and also the tasks associated with those jobs in order to check if there are still tasks which haven't received the fail status. In case the pod crashed then we update the status for that particular task and also for the job.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@openwithcode openwithcode force-pushed the fix-update-failed-pods branch from 118fe96 to cb54ec6 Compare May 3, 2023 13:50
@openwithcode openwithcode merged commit cb54e56 into cisco-open:main May 5, 2023
dhruvsgarg pushed a commit to dhruvsgarg/flame that referenced this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0