From 978f57604534a92dfe38836521dbc5d826448100 Mon Sep 17 00:00:00 2001 From: Smorci Date: Tue, 3 Sep 2024 14:39:44 +0200 Subject: [PATCH] Add commands README --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index 32a8c73..059d86a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,40 @@ # ethereum-node-automation Automated solution to setup a local network of at least three ethereum nodes + +``` +kind create cluster --name ethereum-nodes +``` + +``` +flux bootstrap github \ + --owner=$GITHUB_USER \ + --repository=ethereum-node-automation \ + --branch=main \ + --path=./clusters/ethereum-node-automation \ + --personal +``` + +``` +flux create source git ethereum-node-automation \ + --url=https://github.com/Smorci/ethereum-node-automation \ + --branch=main \ + --interval=1m \ + --export > ./clusters/ethereum-node-automation/ethereum-node-automation-source.yaml +``` + +``` +flux create kustomization ethereum-node-automation \ + --target-namespace=ethereum-node-automation \ + --source=ethereum-node-automation \ + --path="./kustomize" \ + --prune=true \ + --wait=true \ + --interval=30m \ + --retry-interval=2m \ + --health-check-timeout=3m \ + --export > ./clusters/ethereum-node-automation/ethereum-node-automation-kustomization.yaml +``` + +``` +flux get kustomizations --watch +```