Hyperledger Fabric Kubernetes Operator - scale and automate management of Hyperledger Fabric blockchain infrastructure. Kubernetes operator for hyperledger fabric. This project is using Kubernetes Custom Resource Definition to manage Fabric Peers and Orderers in Kubernetes.
NOTE: This project is in pre-alpha
Kubernetes operator for hyperledger fabric. This project is using Kubernetes Custom Resource Definition (more information https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) to manage Fabric Peers and Orderers in Kubernetes.
CRD needs to be applied into the k8s cluster first.
kubectl apply -f deploy/crds/
Operator deployment with RBAC
kubectl apply -f deploy/rbac.yaml kubectl apply -f deploy/operator.yaml
Currently Hyperledger Fabric Operator support only one use case which requires that Kubernetes has deployed HashiCorp Vault, Istio and CoreDNS.
HashiCorp Vault is used for issuing signing certificate and key which are used in MSP for peers and orderers. TLS certificate and key is also issued from Vault. Currenly there is init container which is using Vault Kubernetes Auth. Operator requires that HashiCorp Vault is properly configured. (https://www.vaultproject.io/docs/auth/kubernetes.html). PKI in Vault should be configured with roles MSP and TLS.
Vault auth url is format "$VAULT_ADDRESS"/v1/auth/kubernetes-"$REGION_NAME"/login. Vault address could be changed via env variable OPERATOR_VAULT_ADDRESS in operator manifest. You can use annotation in peer and orderer resources to define REGION_NAME.
apiVersion: hl-fabric.kompitech.com/v1alpha1 kind: FabricPeer metadata: name: peer1 namespace: 2657db63-8a32-41c6-814c-6fa3d21c4731 annotations: region: Region1
Istio is needed because operator will create by default Ingress for created services.
Operator will also try to write dns record into Etcd. This etcd is backend for CoreDNS. Etcd address is currently staticly set to etcd-client.etcd:2379.
If you want to delete all resources after you are done.
kubectl delete -f deploy/operator.yaml kubectl delete -f deploy/rbac.yaml kubectl delete -f deploy/crds
Author: KompiTech Live Demo: View The Demo Download Link: Download The Source Code Official Website: https://github.com/KompiTech/hyperledger-fabric-operator License: Apache-2.0 License
Our original Kubernetes tool list was so popular that we've curated another great list of tools to help you improve your functionality with the platform.
DevOps and Cloud computing are joined at the hip, now that fact is well appreciated by the organizations that engaged in SaaS cloud and developed applications in the Cloud. During the COVID crisis period, most of the organizations have started using cloud computing services and implementing a cloud-first strategy to establish their remote operations. Similarly, the extended DevOps strategy will make the development process more agile with automated test cases.
What is DevOps? How are organizations transitioning to DevOps? Is it possible for organizations to shift to enterprise DevOps? Read more to find out!
What is DevOps? What are the goals it helps achieves? What are its benefits? This article has answers!
The year 2020 has arrived, and its arrival brings a lot of innovations and transformations in the Information and Technology (IT) sector to DevOps technologies.