fabric-operator

command module
v1.0.9-6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

README

fabric-operator

fabric-operator is an open-source, cloud-native Operator for managing Hyperledger Fabric networks on Kubernetes. The operator follows the CNCF Operator Pattern, reducing the minutia of performing repetitive, detailed configuration tasks to automated activities performed under the guidance of software-based controllers.

Using the operator, a Fabric network is realized in a declarative fashion by applying a series of CA, Peer, Orderer, and Console resources to the Kubernetes API. In turn, the controller executes a reconciliation loop, orchestrating containers, storage, and configuration to achieve the desired target state.

In nautical terms, fabric-operator serves as the eXecutive Officer / XO of a vessel. It allows you, the captain, to invest valuable time and energy formulating strategic objectives for a blockchain deployment. The operator, or XO, is responsible to enact the plan, and "make it so."

Fabric, Ahoy!

Operator Components

Feature Benefits

  • It slices
  • It dices
  • It folds your laundry
  • It configures Fabric networks
  • It configures Fabric networks on any Kube (even on your laptop)
  • It configures Fabric networks with K8s APIs (kubectl, kustomize, helm, SDK clients,...)
  • It configures Fabric networks with a web browser
  • It configures Fabric networks with Ansible
  • It configures Fabric networks with native Fabric CLI binaries
  • It configures Fabric networks with CI/CD and git-ops best-practices
  • It deploys Chaincode Now!!! (integrated ccaas and k8s external builders)
  • It detects and automatically re-enrolls TLS certificates
  • It will provide migration and future LTS revision support
  • It manages hybrid cloud, multi-org, and multi-cluster Fabric networks
  • It runs on pure containerd and mobyd (no dependencies on Docker/DIND)
  • It provides wildcard DNS, SNI, and OCP domain ingress routing
  • It is battle tested
  • It is backed by commercial-grade, enterprise support offerings from IBM
  • It ... just works. Enjoy!

Future Benefits

  • Declarative Fabric resources : Channel, Chaincode, Organization, Consortium / MSP, ... CRDs
  • Service Mesh Overlay (Linkerd, Istio, ...) with mTLS
  • Metrics and observability with Prometheus and Grafana
  • Operational management: Log aggregation, monitoring, alerting
  • Modular CAs (Fabric CA, cert-manager.io, Vault, letsencrypt, ...)
  • Backup / Recovery / Upgrade
  • Idemixer, Token SDK, BFT Orderer
  • Layer II blockchain integration (Cactus, Weaver, Token SDK, ...)
  • kubectl, fabctl, fabric-cli command-line extensions.

Build a Fabric Network

Build the Fabric Operator

Community Guidelines

  • This is an open community project. Be KIND to your peers.
  • Focus on outcomes (where are we going), not mechanics (how will we get there).
  • Discussion, Comments, and Action at Hyperledger Discord : #fabric-kubernetes

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1beta1
Package v1beta1 contains API Schema definitions for the ibp v1beta1 API group +kubebuilder:object:generate=true +groupName=ibp.com
Package v1beta1 contains API Schema definitions for the ibp v1beta1 API group +kubebuilder:object:generate=true +groupName=ibp.com
cmd
crd
ibpca/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
ibpconsole/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
ibporderer/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
ibppeer/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
defaultconfig
pkg
action/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
certificate/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
certificate/reenroller/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
command/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
controller/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
crd
crd/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
initializer/ca/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
initializer/common/config/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
initializer/common/enroller/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
initializer/common/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
initializer/cryptogen/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
initializer/orderer/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
initializer/peer/config/commoncore
* Copyright contributors to the Hyperledger Fabric Operator project * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
* Copyright contributors to the Hyperledger Fabric Operator project * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
initializer/peer/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
manager/resources/job/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
manager/resources/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
migrator/peer/fabric/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
migrator/peer/fabric/v2/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
migrator/peer/fabric/v25/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
offering/base/ca/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
offering/base/console/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
offering/base/orderer/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
offering/base/peer/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
offering/common/reconcilechecks/images/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
offering/common/reconcilechecks/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
util/pointer
* Copyright contributors to the Hyperledger Fabric Operator project * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
* Copyright contributors to the Hyperledger Fabric Operator project * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL