Giter Site home page Giter Site logo

fabrickubernetesdemo's Introduction

#Fabric scripts for Kubernetes demo

These scripts are for demonstration only, do yours own research and tests before using in production

FABRIC STRUCTURE:

  • 1 Organisation
  • 1 Peer
  • 1 node Ordering service
  • 1 CouchDB
  • 1 Setup container

DOCKER:

folders:

  • chaincode: marbles chaincode
  • config: generated configuration files, like genesisblock or channel config file
  • core: core.yaml config file for the peer
  • crypto-config generated crypto material

scripts:

  • generate.sh - generate crypto materials and config files
  • start.sh - start the network
  • teardown.sh - delete the network (docker volumes might need to be deleted manually)

explorer: http://localhost:8080 prometheus: http://localhost:9090 grafana: http://localhost:3000 (admin / admin) kibana: http://localhost:5601 elasctisearch: http://localhost:9200 logtash: http://localhost:9600
fluentd: http://localhost:9292 (username="admin" and password="changeme")

KUBERNETES:

folders:

  • chaincode: marbles chaincode
  • config: generated configuration files, like genesisblock or channel config file
  • crypto-config generated crypto material
  • fabric: fabric kubernetes config files, like
    • configMaps.yaml: general config maps and setup script
    • CouchDB.yaml: Kubernetes couchdb file
    • Orderer.yaml: Kubernetes orderer configuration file
    • Peer.yaml: Kubernetes peer configuration file
    • persitentvolume.yaml: Persitent volume claims for the setup
    • SetupJob.yaml: creating channel, configuring anchor peer, installing chaincode

scripts:

  • generate.sh - generate crypto materials and config files
  • importsecrets.sh - import certificates to
  • start.sh - install the network
  • checking if the network setup is successful look at the set result of the setupjob (like with kubectl logs )
  • teardown.sh - delete the network (some of the secrets and configs might need to be deleted manually, like with kubectl delete secret)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.