Skip to content

fix: add helm repo instructions to vector aggregator tutorial #751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion modules/tutorials/examples/logging-aggregator/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ echo "Installing ZooKeeper Operator"
stackablectl release install -i secret -i commons -i listener -i zookeeper 23.11
# end::zk-op[]

# tag::vector-helm-repo[]
helm repo add vector https://helm.vector.dev
helm repo update
# end::vector-helm-repo[]

# tag::vector-agg[]
helm install \
--wait \
Expand Down Expand Up @@ -35,4 +40,4 @@ then
echo "it worked"
else
echo "it didn't work"
fi
fi
5 changes: 5 additions & 0 deletions modules/tutorials/pages/logging-vector-aggregator.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ include::example$logging-aggregator/vector-aggregator-values.yaml[]
<1> define a source of `type` `vector` which listens to incoming log messages at port 6000.
<2> define a `console` sink, logging all received logs to `stderr`.

Add the Vector Helm repository if you haven't done so already:

[source,bash]
include::example$logging-aggregator/main.sh[tag=vector-helm-repo]

Deploy Vector with these values using Helm:

[source,bash]
Expand Down
Loading