-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add forwarding script for vector (#836)
<!-- 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
1 parent
ebd3c7b
commit ae7299d
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |