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

Consider options for applying different configuration options to different chaincode #104

Open
jt-nti opened this issue Feb 27, 2024 · 4 comments
Labels
design Design discussions

Comments

@jt-nti
Copy link
Member

jt-nti commented Feb 27, 2024

It may be desirable to deploy different chaincode in different namespaces and, with #102, with different resource requests and limits.

Currently the chaincode packages only contain information about what is being deployed, not how to deploy it, and I am keen to keep this distinction. For example, requiring a new package to go through the chaincode lifecycle to change resource limits is not ideal. It would also reduce the likelihood of different organisations being able to share the same chaincode package.

@davidfdr
Copy link
Contributor

Having a way for deploying each chaincode in a specifc namespace will be good and is a solution for the weird chaincode hash names. :)

@labibfarag
Copy link

consider also the pod availability if the pod is deleted / stopped, what are the other options other than restarting the peer to create the pod

@jt-nti
Copy link
Member Author

jt-nti commented Feb 28, 2024

Having a way for deploying each chaincode in a specifc namespace will be good and is a solution for the weird chaincode hash names. :)

@davidfdr I've also opened #105 to improve the pod names :)

consider also the pod availability if the pod is deleted / stopped, what are the other options other than restarting the peer to create the pod

@labibfarag The peer should already restart the chaincode if the pod is deleted/stopped as part of the Fabric builder and launcher implementation, so definitely open an issue if that isn't happening

@jt-nti
Copy link
Member Author

jt-nti commented Mar 13, 2024

The k8s builder is on the agenda for upcoming Fabric call on 17th April where I'm hoping to discuss what options there might be in Fabric for providing per-chaincode configuration to builders and launchers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design discussions
Projects
None yet
Development

No branches or pull requests

3 participants