Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
02047a5
Updated text and image
fhennig Oct 18, 2023
2707338
Updated formatting
fhennig Oct 18, 2023
61c828e
Update modules/concepts/pages/logging.adoc
fhennig Oct 19, 2023
89c3145
more info
fhennig Oct 19, 2023
84fee5d
Merge branch 'main' into logging-sinks
fhennig Oct 25, 2023
ca31eeb
Removed HDFS mentions
fhennig Nov 1, 2023
00dd180
Added tutorial
fhennig Nov 1, 2023
30c205a
link to tutorial from the concepts page
fhennig Nov 1, 2023
15102db
Merge branch 'main' into logging-sinks
fhennig Nov 3, 2023
7d85edb
Update modules/concepts/pages/logging.adoc
fhennig Nov 13, 2023
11cf8e5
Update modules/tutorials/examples/logging-aggregator/main.sh
fhennig Nov 13, 2023
6370f0f
Update modules/tutorials/examples/logging-aggregator/main.sh
fhennig Nov 13, 2023
9ae2bec
Updated ZK manifest
fhennig Nov 13, 2023
3464e80
Made main.sh executable
fhennig Nov 13, 2023
402f843
Removed WebHDFS from the diagram
fhennig Nov 13, 2023
332f86b
fixes for nightly
fhennig Nov 13, 2023
26ae240
Merge branch 'main' into logging-sinks
fhennig Nov 13, 2023
cfe552e
Update modules/tutorials/pages/logging-vector-aggregator.adoc
fhennig Nov 22, 2023
f270655
Update modules/tutorials/pages/logging-vector-aggregator.adoc
fhennig Nov 22, 2023
74aa6d0
Update modules/tutorials/examples/logging-aggregator/main.sh
fhennig Nov 22, 2023
2d03125
Update modules/tutorials/examples/logging-aggregator/main.sh
fhennig Nov 22, 2023
956e728
Changed install command
fhennig Nov 22, 2023
c1a8bbe
removed sleep in favor of server-side apply
fhennig Nov 22, 2023
87628df
Install listener
fhennig Nov 23, 2023
1eb2cc1
shell script improvements
fhennig Nov 23, 2023
ed39252
fixed typo
fhennig Nov 23, 2023
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
shell script improvements
  • Loading branch information
fhennig committed Nov 23, 2023
commit 1eb2cc1c34bbaa5fd6c4df74efccbb079fbad630
16 changes: 8 additions & 8 deletions modules/tutorials/examples/logging-aggregator/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ helm install \
# end::vector-agg[]

# tag::vector-discovery[]
kubectl apply --server-side -f vector-aggregator-discovery.yaml
kubectl apply --f vector-aggregator-discovery.yaml
# end::vector-discovery[]

# tag::zk[]
kubectl apply --server-side -f zookeeper.yaml
kubectl apply -f zookeeper.yaml
# end::zk[]

kubectl rollout status statefulset simple-zk-server-default --timeout=5m
# Wait until the zookeeper-operator deployed the StatefulSet
kubectl wait \
--for=jsonpath='.status.readyReplicas'=3 \
--timeout=5m \
statefulsets.apps/simple-zk-server-default
--for=condition=available \
--timeout=5m \
zookeeperclusters.zookeeper.stackable.tech/simple-zk

# tag::grep[]
kubectl logs vector-aggregator-0 | grep "zookeeper.version=" | jq
# end::grep[]

if [ "${PIPESTATUS[1]}" -eq 0 ]
then
echo "it worked"
echo "it worked"
else
echo "it didn't work :("
echo "it didn't work"
fi