9 lines
316 B
Bash
Executable File
9 lines
316 B
Bash
Executable File
#!/bin/bash
|
|
# Port forward Loki service to localhost:3101
|
|
# Usage: ./scripts/loki-port-forward.sh
|
|
# Keep this running in a separate terminal.
|
|
# Once running, you can use ./scripts/loki-query.sh to inspect logs.
|
|
|
|
echo "Port forwarding Loki to http://localhost:3101..."
|
|
kubectl -n loki port-forward svc/loki 3101:3100
|