From dd4f6901159545a91aea73454a3f85f0bd19a745 Mon Sep 17 00:00:00 2001 From: Christos Hadjiaslanis Date: Mon, 19 Aug 2024 21:28:33 +0300 Subject: [PATCH 1/3] Update the load balancer configuration instructions --- src/operators/testnets/joining.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/operators/testnets/joining.md b/src/operators/testnets/joining.md index 5b62c4d0..6d6076a8 100644 --- a/src/operators/testnets/joining.md +++ b/src/operators/testnets/joining.md @@ -34,9 +34,13 @@ For the next section, we'll be working out of the `docker` subdirectory in the Validators run via Docker Compose do not come with a pre-packaged load balancer to perform TLS termination (unlike validators running on Kubernetes). -Thus, it is required of validator operators to provide TLS termination and -support long-lived HTTP/2 connections required for the functioning of the Linera -notification system. +The load balancer configuration _must_ have the following properties: + +1. Support HTTP/2 connections. +2. Support gRPC connections. +3. Support long-lived HTTP/2 connections. +4. Support a maximum body size of up to 20 Mb. +5. Provide TLS termination with a certificate signed by a known CA. Finally, the load balancer that performs TLS termination must redirect traffic from `443` to `19100` (the port exposed by the proxy). From 09fedc845bab83b91c0ff750200781c23c98a2ec Mon Sep 17 00:00:00 2001 From: Christos Hadjiaslanis Date: Mon, 19 Aug 2024 21:31:22 +0300 Subject: [PATCH 2/3] Added testnet name to joining section --- TESTNET_BRANCH | 1 + TESTNET_DOMAIN | 1 + src/operators/testnets/joining.md | 7 +++++-- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 TESTNET_BRANCH create mode 100644 TESTNET_DOMAIN diff --git a/TESTNET_BRANCH b/TESTNET_BRANCH new file mode 100644 index 00000000..80492e2d --- /dev/null +++ b/TESTNET_BRANCH @@ -0,0 +1 @@ +testnet_abel \ No newline at end of file diff --git a/TESTNET_DOMAIN b/TESTNET_DOMAIN new file mode 100644 index 00000000..125d0358 --- /dev/null +++ b/TESTNET_DOMAIN @@ -0,0 +1 @@ +testnet-abel diff --git a/src/operators/testnets/joining.md b/src/operators/testnets/joining.md index 6d6076a8..899e8580 100644 --- a/src/operators/testnets/joining.md +++ b/src/operators/testnets/joining.md @@ -18,6 +18,9 @@ the Docker docs. ### Installing the Linera Toolchain +> When installing the Linera Toolchain, you **must** check out the +> `{{#include ../../../TESTNET_BRANCH}}` branch. + To install the Linera Toolchain refer to the [installation section](../../developers/getting_started/installation.md#installing-from-github). @@ -34,7 +37,7 @@ For the next section, we'll be working out of the `docker` subdirectory in the Validators run via Docker Compose do not come with a pre-packaged load balancer to perform TLS termination (unlike validators running on Kubernetes). -The load balancer configuration _must_ have the following properties: +The load balancer configuration **must** have the following properties: 1. Support HTTP/2 connections. 2. Support gRPC connections. @@ -82,7 +85,7 @@ bucket managed by the Linera Protocol core team. An example can be found here: ```bash -wget "https://storage.googleapis.com/linera-io-dev-public/{{#include ../../../RELEASE_DOMAIN}}/genesis.json" +wget "https://storage.googleapis.com/linera-io-dev-public/{{#include ../../../TESTNET_DOMAIN}}/genesis.json" ``` ### Creating Your Keys From 05e0b7a9e4acfb50c3206562c3c0bfd031205dab Mon Sep 17 00:00:00 2001 From: Christos Hadjiaslanis Date: Mon, 26 Aug 2024 16:44:40 +0300 Subject: [PATCH 3/3] Change Mb to MB --- src/operators/testnets/joining.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operators/testnets/joining.md b/src/operators/testnets/joining.md index 899e8580..7a2a3a3a 100644 --- a/src/operators/testnets/joining.md +++ b/src/operators/testnets/joining.md @@ -42,7 +42,7 @@ The load balancer configuration **must** have the following properties: 1. Support HTTP/2 connections. 2. Support gRPC connections. 3. Support long-lived HTTP/2 connections. -4. Support a maximum body size of up to 20 Mb. +4. Support a maximum body size of up to 20 MB. 5. Provide TLS termination with a certificate signed by a known CA. Finally, the load balancer that performs TLS termination must redirect traffic