2020 05 01 DWG Agenda
Hyperledger is committed to creating a safe and welcoming community for all. For more information please visit our Code of Conduct: Hyperledger Code of Conduct
Announcements
Agenda:
- Release status: Pam/Joe
- Create channel tutorial
- Contributors topic for new languages(standing topic)
- Demo on Kubernetes deployment - Chris Gabriel
- includes Fabric CA with miniKube local dev, persistent volume, storage etc...
- includes Fabric CA with miniKube local dev, persistent volume, storage etc...
Discussion
- Release status: Pam/Joe
- Contributer's call - Chris stood in for doc team (ty!)
- Listen to recording, worthwhile
- BFT will have MVP early June
- Config transaction library demo at next contributer's meeting
- Moved to separate repo
- Deployment guide work being wrapped up for publication
- For Fabric 2.2, (vNext) BYFN to be removed at this time
- People are successfuilly moving from BYFN
- Create channel update from Nik
- Good feedback received from Pam/Joe on tutorial
- First article easier to get through than second
- There is a lot of material to get through
- Concept material is more difficult; maybe merge operational material first
- Good agreement on this approach
- Update second topic later, as it needs more work
- Contributors topic for new languages(standing topic) Pam and Nik
- No updates yet from Jay, still planning to do it
- Several people from India reached out on Malayam
- Maybe do this on EH call
- Rough pages as starting point
- Anthony to reach out on mailing list
- Public GitHub repo - https://github.com/denali49/fabric-ca-k8s
- Make sure you pull the latest!
- Done on miniKube or Cloud. Today's demo on Cloud
- Objective to avoid cryptogen
- Don't need to be expert on Kubernetes
- Accompanying video on YouTube -https://www.youtube.com/watch?v=PbMxqH6bNB8&feature=youtu.be
- YouTube shows minikube vs today Cloud
- Good setup covered in material
- Demo is for practice rather than production as not yet TLS enabled
- Demo starts at step 4
- Provision storage volume in the cloud (PVC)
- Many different kinds of access modes for kubernetes storage
- ReadWriteMany vs ReadWriteOnce on Digital Ocean (today's demo)
- Notes on Clouds
- DigitalOcean 1 CPU cluster with 0G for 11USD
- IBM free cluster (IKS no longer supports persistent storage on free tier)
- Microsoft Azure free credits
- Provision storage volume
- Start by kube commands to bind cluster to storage - uses Kube config file linked to cloud provider
- Provision redis storage using the provisioned volume
- Notice linkage from redis to PVC
- Step 5 puts CA job config on this infrastructure
- Override ENV variables using fabric-ca-server init or use -b options
- Follow Fabric CA deployment guide in this demo
- create init file using Kube job
- Need to copy this config file to be used by Fabric CA image to local machine for use by kubectl
- Use of Kubectl copy to do this shown in demo
- Now have Fabric-ca-server YAML file locally to modify
- Modify CSR section, Note a few changes...
- Now use kubectl to copy back to running pod
- Need to generate new certs based on the YAML file change – reqt to delete existing ca-cert.pem and msp directories
- Step 6 Start CA
- Now apply Fabric-ca-server start no need to pass in init no -b option required
- run sever using apply
- get pod to show CA server up and running
- Emphasize difference between when looking at running and job logs
- Logs show changes that were performed – HyperChain, Texas, etc!
- Step7 interact with CA using fabric-ca-client
- Register and enroll steps
- create appropriate directories on client side
- run successful enroll – certs in various places in local MSP folder
- register an org admin, then peer, then user
- Should recap/review identity concepts beforehand, helps understand tasks
- Now enroll these registered entities
- then list identities - initially an error – last expert was for user – expected behaviour
- prove this by changing to ca admin identity
- Now run command and it's fine!
- Nice demonstration point on rights
- Emphasis on getting properties right in the first place – cannot be changed (it's PKI)
- Modifies identity using fabric-ca-client identity modify
- Different affiliations foe different users to orgs
- notice changed affiliations
- fabric-ca-client identity modify
- Also list certificates using FCA command, and store certificates command too
- Great demo
- Reviewed touch points of demo
- Internal docs next week
Video of this week's session at: Recordings