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

Support for IBM Kubernetes (k8s)/OpenShift cloud #401

Open
14 tasks
g2flyer opened this issue Jul 9, 2020 · 3 comments
Open
14 tasks

Support for IBM Kubernetes (k8s)/OpenShift cloud #401

g2flyer opened this issue Jul 9, 2020 · 3 comments

Comments

@g2flyer
Copy link
Contributor

g2flyer commented Jul 9, 2020

Description

  • get documentation on IBM Cloud
    • operational guide
      • in general
      • how to get access to a sgx-enabled VM and/or container and, for containers, what the intended deployment model is (e.g., how is kernel device passed, is container supposed to run psw or will the psw socket be shared from host, and if so how, ..)
    • any scriptability options
  • get access to IBM Cloud
  • investigate technical approach for
    • using docker images with k8s
    • converting docker-compose to k8s (see, e.g., https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/)
    • to run docker/docker-compose equivalents from within a container.
      • might require shared volumes for source on dev container so volume mounts work
    • general fabric-on-kubernetes guides (see e.g., FAB-11240 which seems
      tasked to do exactly that but as-of-2020-07-07 seems still very early WIP ..)
    • might also require refactoring standard chaincode to use external builder (otherwise it would expect docker to build and run the corresponding chaincode)
  • implement/documentation aspects:
  • stagging
    • most bang for the buck probably would be to do chaincode-deployment to k8s via external builders while still running the infrastructure via docker(-compose) in our tests. Note: docker(-compose) use and related scripts are only for tests so doing that first without doing scalable chaincode enablement would not be thaat useful in a production environment wherreas the converse is useful.

Link to feature or bug

Link to dependent issues

@anweiss
Copy link

anweiss commented Oct 1, 2020

Any updates here? Interested in running an FPC peer node on IKS. Thanks!

@g2flyer
Copy link
Contributor Author

g2flyer commented Dec 3, 2020

FYI: from HL mailing list some work on (general) fabric and k8s

[Hyperledger Fabric] Hyperledger Fabric Operator

We just released the first version of a project to deploy Hyperledger Fabric on Kubernetes using Operators.

It supports:

  • Create certificates authorities (CA)
  • Create peers
  • Create ordering services
  • Create resources without manual provisioning of cryptographic material
  • Domain routing with SNI using Istio
  • Run chaincode as external chaincode in Kubernetes
  • Support Hyperledger Fabric 2.2 and 2.3
  • Managed genesis for Ordering services
  • E2E testing including the execution of chaincodes in KIND

You can find the instructions on GitHub:
https://github.com/kfsoftware/hlf-operator

There's also an external builder operator available at GitHub, which is also used by the operator:
https://github.com/kfsoftware/externalbuilder

Thanks for your attention and feel free to contribute or contact me for any issues :)

Regards.

@mbrandenburger
Copy link
Contributor

PR #539 demonstrates FPC deployment using K8s.

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

No branches or pull requests

3 participants