-
Notifications
You must be signed in to change notification settings - Fork 24
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
Re-use bundles at startup for podman runtime #386
Conversation
All done. Ready for review. |
Currently this PR only handles agent restart and reuses containers that have the same configuration and are in state succeeded. But he agent might also restart workloads with |
Should we create a ticket for the restarts? We can then add the constrains in (e.g., only for successfully finished workloads). |
@krucod3 At first I thought about adding this right in this PR but we can also review it like it is today and have another isssue + PR for the restart policy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review done, findings documented.
tests/resources/configs/device_restart_with_dependencies_modified.yaml
Outdated
Show resolved
Hide resolved
agent/src/runtime_connectors/podman_kube/podman_kube_runtime.rs
Outdated
Show resolved
Hide resolved
Fixed review findings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Issue-Id: #260
Definition of Done
The PR shall be merged only if all items mentioned in CONTRIBUTING.md have been followed. In case an item is not applicable as described, please provide a short explanation in the description.