Skip to content

Commit

Permalink
chore: add forwarding script for vector (#836)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
MasterPtato committed Jun 3, 2024
1 parent ebd3c7b commit ae7299d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/infrastructure/vector/ACCESSING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Accessing Vector

To access vector running in the k8s cluster, first forward it and then use the vector cli pointed at the forwarded http url.

## Forwarding

`./scripts/forward/vector.sh`

## Vector CLI

`nix-shell -p vector`

`vector top`
4 changes: 4 additions & 0 deletions scripts/forward/vector.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
set -euf

FORWARD_NS=vector FORWARD_NAME=service/vector PORT=8686 FORWARD_PORT=8686 ./scripts/forward/service.sh

0 comments on commit ae7299d

Please sign in to comment.