From f730b804cd4e9362efc67c7c14fc9e5d5ed93c0a Mon Sep 17 00:00:00 2001 From: Josh Kneubuhl Date: Fri, 6 May 2022 11:15:19 -0400 Subject: [PATCH] Refine README with CPU/RAM/Docker/Rancher limits; Adds a 10s effort to delivery client connection Signed-off-by: Josh Kneubuhl --- test-network-k8s/README.md | 7 ++++--- test-network-k8s/config/org1/core.yaml | 2 +- test-network-k8s/config/org2/core.yaml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/test-network-k8s/README.md b/test-network-k8s/README.md index 46848149..58a22fed 100644 --- a/test-network-k8s/README.md +++ b/test-network-k8s/README.md @@ -15,11 +15,12 @@ This project re-establishes the Hyperledger [test-network](../test-network) as a _Fabric, Ahoy!_ -## Prerequisites +## Prerequisites: +- K8s - either: + - [KIND](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) + [Docker](https://www.docker.com) (resources: 8 CPU / 8 GRAM) or + - [Rancher Desktop](https://rancherdesktop.io) (resources: 8 CPU / 8GRAM, mobyd, and disable Traefik) - [kubectl](https://kubernetes.io/docs/tasks/tools/) -- [Docker](https://www.docker.com) -- K8s: [kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) or [Rancher / k3s](https://rancherdesktop.io) - [jq](https://stedolan.github.io/jq/) - [envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) (`brew install gettext` on OSX) diff --git a/test-network-k8s/config/org1/core.yaml b/test-network-k8s/config/org1/core.yaml index 28267f63..27297bd0 100644 --- a/test-network-k8s/config/org1/core.yaml +++ b/test-network-k8s/config/org1/core.yaml @@ -353,7 +353,7 @@ peer: reconnectTotalTimeThreshold: 3600s # It sets the delivery service <-> ordering service node connection timeout - connTimeout: 3s + connTimeout: 10s # It sets the delivery service maximal delay between consecutive retries reConnectBackoffThreshold: 3600s diff --git a/test-network-k8s/config/org2/core.yaml b/test-network-k8s/config/org2/core.yaml index 8a42d72e..3cd5aeef 100644 --- a/test-network-k8s/config/org2/core.yaml +++ b/test-network-k8s/config/org2/core.yaml @@ -353,7 +353,7 @@ peer: reconnectTotalTimeThreshold: 3600s # It sets the delivery service <-> ordering service node connection timeout - connTimeout: 3s + connTimeout: 10s # It sets the delivery service maximal delay between consecutive retries reConnectBackoffThreshold: 3600s