Skip to content

Commit

Permalink
Update rekor sharding guide (#318)
Browse files Browse the repository at this point in the history
* Rename `TreeSize` to `ActiveTreeSize` introduced as a breaking change in
    rekor PR #864
  * Add a note sigstore helm chart making use of port 8091 for gRPC

Signed-off-by: Vipul Agarwal <[email protected]>
  • Loading branch information
vipulagarwal authored Jul 23, 2024
1 parent 76a1864 commit 3a49fd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/en/logging/sharding.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Follow these steps to shard the log:

```bash
CURRENT_TREE_ID=$(rekor-cli loginfo --format json | jq -r .TreeID)
CURRENT_SHARD_LENGTH=$(rekor-cli loginfo --format json | jq -r .TreeSize)
CURRENT_SHARD_LENGTH=$(rekor-cli loginfo --format json | jq -r .ActiveTreeSize)
```

3. Connect to the production cluster. Port-forward the running `trillian_logserver` container and run the [createtree](https://github.com/google/trillian/blob/master/cmd/createtree/main.go) script.
Expand All @@ -58,6 +58,7 @@ This will create a new Merkle Tree which will become the new active shard.
# This is the Tree ID of the new active shard
NEW_TREE_ID=$(createtree --admin_server localhost:8090)
```

Check failure on line 60 in content/en/logging/sharding.md

View workflow job for this annotation

GitHub Actions / markdownlint

Fenced code blocks should be surrounded by blank lines

content/en/logging/sharding.md:60 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```"] https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md031.md
> **Note:** sigstore helm charts use port 8091 for gRPC

4. Update the Rekor `sharding-config` ConfigMap with details of the inactive shard:

Expand Down

0 comments on commit 3a49fd9

Please sign in to comment.