diff --git a/modules/tutorials/examples/logging-aggregator/main.sh b/modules/tutorials/examples/logging-aggregator/main.sh index 98c2d9e5b..847f79ab2 100755 --- a/modules/tutorials/examples/logging-aggregator/main.sh +++ b/modules/tutorials/examples/logging-aggregator/main.sh @@ -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 \ @@ -35,4 +40,4 @@ then echo "it worked" else echo "it didn't work" -fi \ No newline at end of file +fi diff --git a/modules/tutorials/pages/logging-vector-aggregator.adoc b/modules/tutorials/pages/logging-vector-aggregator.adoc index 0e436f6df..2d78c7a46 100644 --- a/modules/tutorials/pages/logging-vector-aggregator.adoc +++ b/modules/tutorials/pages/logging-vector-aggregator.adoc @@ -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]