Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyperledger/bevel-operator-fabric
Hyperledger Fabric Kubernetes operator - Hyperledger Fabric operator for Kubernetes (v2.3, v2.4 and v2.5, soon 3.0)
https://github.com/hyperledger/bevel-operator-fabric
blockchain chaincode fabric hacktoberfest hacktoberfest-accepted hyperledger hyperledger-fabric kubernetes operator-sdk
Last synced: about 1 month ago
JSON representation
Hyperledger Fabric Kubernetes operator - Hyperledger Fabric operator for Kubernetes (v2.3, v2.4 and v2.5, soon 3.0)
- Host: GitHub
- URL: https://github.com/hyperledger/bevel-operator-fabric
- Owner: hyperledger
- License: apache-2.0
- Created: 2020-11-29T19:02:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T11:16:57.000Z (about 2 months ago)
- Last Synced: 2024-09-26T20:03:43.718Z (about 2 months ago)
- Topics: blockchain, chaincode, fabric, hacktoberfest, hacktoberfest-accepted, hyperledger, hyperledger-fabric, kubernetes, operator-sdk
- Language: Go
- Homepage: https://hyperledger.github.io/bevel-operator-fabric/
- Size: 5.42 MB
- Stars: 270
- Watchers: 54
- Forks: 91
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
---
id: getting-started
title: Getting started
---# Hyperledger Fabric Operator
## Features
- [x] Create certificates authorities (CA)
- [x] Create peers
- [x] Create ordering services
- [x] Create resources without manual provisioning of cryptographic material
- [x] Domain routing with SNI using Istio
- [x] Run chaincode as external chaincode in Kubernetes
- [x] Support Hyperledger Fabric 2.3+
- [x] Managed genesis for Ordering services
- [x] E2E testing including the execution of chaincodes in KIND
- [x] Renewal of certificates## Stay Up-to-Date
`hlf-operator` is currently in stable. Watch **releases** of this repository to be notified for future updates:
![hlf-operator-star-github](https://user-images.githubusercontent.com/6862893/123808402-022aa800-d8f1-11eb-8df4-8a9552f126a2.gif)
## Discord
For discussions and questions, please join the Hyperledger Foundation Discord:
[https://discord.com/invite/hyperledger](https://discord.com/invite/hyperledger)
The channel is located under `BEVEL`, named [`bevel-operator-fabric`](https://discordapp.com/channels/905194001349627914/967823782712594442).
## Tutorial Videos
Step-by-step video tutorials to setup hlf-operator in Kubernetes
[![Hyperledger Fabric on Kubernetes](https://img.youtube.com/vi/e04TcJHUI5M/0.jpg)](https://www.youtube.com/playlist?list=PLuAZTZDgj0csRQuNMY8wbYqOCpzggAuMo "Hyperledger Fabric on Kubernetes")
This workshop provides an in-depth hands on discussion and demonstration of using Bevel and the new Bevel-Operator-Fabric to deploy Hyperledger Fabric on Kubernetes.
## Hyperledger Meetup
You can watch this video to see how to use it to deploy your own network:
[![Hyperledger Fabric on Kubernetes](http://img.youtube.com/vi/namKDeJf5QI/0.jpg)](http://www.youtube.com/watch?v=namKDeJf5QI "Hyperledger Fabric on Kubernetes")
## Hyperledger Workshops
This workshop provides an in-depth, hands-on discussion and demonstration of using Bevel and the new Bevel-Operator-Fabric to deploy Hyperledger Fabric on Kubernetes.
[![How to Deploy Hyperledger Fabric on Kubernetes with Hyperledger Bevel](https://img.youtube.com/vi/YUC12ahY5_k/0.jpg)](https://www.youtube.com/live/YUC12ahY5_k?feature=share&t=4430)
## Sponsor
| | |
| ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![galagames logo](https://avatars.githubusercontent.com/u/135145372?s=200&v=4) | Gala Games is a blockchain gaming platform that empowers players to earn cryptocurrencies and NFTs through gameplay. Founded in 2018 by Eric Schiermeyer, co-founder of Zynga, it aims to create a new type of gaming experience. The platform offers limited edition NFTs and allows players to earn Gala tokens |
| ![kfs logo](https://avatars.githubusercontent.com/u/74511895?s=200&v=4) | If you want to design and deploy a secure Blockchain network based on the latest version of Hyperledger Fabric, feel free to contact [email protected] or visit [https://kfs.es/blockchain](https://kfs.es/blockchain) |## Getting started
# Tutorial
Resources:
- [Hyperledger Fabric build ARM](https://www.polarsparc.com/xhtml/Hyperledger-ARM-Build.html)## Create Kubernetes Cluster
To start deploying our red fabric we have to have a Kubernetes cluster. For this we will use KinD.
Ensure you have these ports available before creating the cluster:
- 80
- 443If these ports are not available this tutorial will not work.
```bash
cat << EOF > kind-config.yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
image: kindest/node:v1.25.8
extraPortMappings:
- containerPort: 30949
hostPort: 80
- containerPort: 30950
hostPort: 443
EOFkind create cluster --config=./kind-config.yaml
```
## Install Kubernetes operator
In this step we are going to install the kubernetes operator for Fabric, this will install:
- CRD (Custom Resource Definitions) to deploy Certification Fabric Peers, Orderers and Authorities
- Deploy the program to deploy the nodes in KubernetesTo install helm: [https://helm.sh/docs/intro/install/](https://helm.sh/docs/intro/install/)
```bash
helm repo add kfs https://kfsoftware.github.io/hlf-helm-charts --force-updatehelm install hlf-operator --version=1.9.2 -- kfs/hlf-operator
```### Install the Kubectl plugin
To install the kubectl plugin, you must first install Krew:
[https://krew.sigs.k8s.io/docs/user-guide/setup/install/](https://krew.sigs.k8s.io/docs/user-guide/setup/install/)Afterwards, the plugin can be installed with the following command:
```bash
kubectl krew install hlf
```### Install Istio
Install Istio binaries on the machine:
```bash
curl -L https://istio.io/downloadIstio | sh -
```Install Istio on the Kubernetes cluster:
```bash
kubectl create namespace istio-system
istioctl operator init
kubectl apply -f - < "metadata.json"
{
"type": "ccaas",
"label": "${CHAINCODE_LABEL}"
}
METADATA-EOF
## chaincode as a service
```### Prepare connection file
```bash
cat > "connection.json" <