Skip to content

jt-nti/fabric-builder-k8s

This branch is 1 commit ahead of, 4 commits behind hyperledger-labs/fabric-builder-k8s:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

53db654 · Jan 17, 2025
Dec 19, 2024
Jan 17, 2025
Jan 17, 2025
Sep 23, 2024
May 24, 2024
Jan 14, 2025
Jan 17, 2025
Aug 3, 2022
May 24, 2024
Jan 17, 2025
Nov 5, 2024
Dec 19, 2024
Nov 5, 2024
Jul 20, 2022
Aug 5, 2022
Dec 13, 2024
Jan 17, 2025
Jan 17, 2025
Sep 23, 2024
May 21, 2024

Repository files navigation

fabric-builder-k8s

OpenSSF Best Practices

The Kubernetes external chaincode builder for Hyperledger Fabric (k8s builder) is an alternative to Fabric's legacy built in Docker chaincode builder, which does not work in a Kubernetes deployment, and the preconfigured chaincode-as-a-service builder, which is more suited to chaincode development and test.

For more information, including how to deploy your first chaincode with the k8s builder, see the k8s builder documentation.

To find out how to report issues, suggest enhancements and contribute to the k8s builder project, see the contributing guide.

Overview

With the k8s builder, the Fabric administrator is responsible for preparing a chaincode image, publishing to a container registry, and preparing a chaincode package with coordinates of the contract's immutable image digest. When Fabric detects the installation of a type=k8s contract, the builder assumes full ownership of the lifecycle of pods, containers, and network linkages necessary to communicate securely with the peer.

Advantages:

🚀 Chaincode runs immediately on channel commit.

✨ Avoids the complexity and administrative burdens associated with Chaincode-as-a-Service.

🔥 Pre-published chaincode images avoid code-compilation errors at deployment time.

🏗️ Pre-published chaincode images encourage modern, industry accepted CI/CD best practices.

🛡️ Pre-published chaincode images remove any and all dependencies on a root-level docker daemon.

🕵️ Pre-published chaincode images provide traceability and change management features (e.g. Git commit hash as image tag)

About

Proof of concept Fabric builder for Kubernetes

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 95.9%
  • Shell 2.2%
  • Dockerfile 1.9%