Skip to content
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

Make use of Jobs to manage chaincode workload #119

Closed
jt-nti opened this issue May 3, 2024 · 0 comments
Closed

Make use of Jobs to manage chaincode workload #119

jt-nti opened this issue May 3, 2024 · 0 comments
Labels
design Design discussions enhancement New feature or request
Milestone

Comments

@jt-nti
Copy link
Member

jt-nti commented May 3, 2024

The k8s builder currently creates pods to run chaincode directly, which leads to some problems managing and clearing up pods because the Fabric builder and launcher framework doesn't quite match up with the usual kubernetes workload management. See issues #88, #98 and #100.

A possible improvement would be to make use of kubernetes jobs to run chaincode instead. Using Automatic Cleanup for Finished Jobs and always starting a new job in the run binary should simplify the current implementation and reduce the amount of manual cleanup required in kubernetes.

@jt-nti jt-nti added enhancement New feature or request design Design discussions labels May 3, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 8, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 8, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 10, 2024
@jt-nti jt-nti added this to the Version 1 milestone May 24, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 24, 2024
jt-nti added a commit to jt-nti/fabric-builder-k8s that referenced this issue May 24, 2024
jt-nti added a commit that referenced this issue May 24, 2024
See #119

Signed-off-by: James Taylor <[email protected]>
@jt-nti jt-nti closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design discussions enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant