Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 1.04 KB

Fabric-Operator.md

File metadata and controls

53 lines (44 loc) · 1.04 KB

Fabric Operator Note

Requirement

  • Kubernetes is ready
  • Istio is ready
  • Helm is ready

Sample

https://gitea-6f1861e5.baas.tmpstg.twcc.tw/TWCC-BAAS/fabric-operator/src/branch/tmp/operator/helm-charts

Kubernetes command

  • kubectl get namespaces
  • kubectl create namespace {namespace}
kubectl create namespace wayne-playground
  • kubectl get pod
  • kubectl get service
  • kubectl logs {pod-name} {container-name} -n {namespace}
kubectl logs hlf-peer--atlantis--peer0-0 peer -n fabric
  • kubectl get pod -w -n {namespace}
kubectl get pod -w -n luphia-playground
  • kubectl exec --stdin --tty {pod-name} -- /bin/sh
kubectl exec --stdin --tty hlf-peer--atlantis--peer0-0 /bin/bash

Helm command

  • helm install
cd fabric-operator/operator/helm-charts/createnetwork/
helm install createnetwork-76fe6563 . -n luphia-playground
  • helm uninstall
  • helm list
  • helm dependency update

External Chaincode

Simple Sample

git clone

Pod restart with latest image