We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3033a commit 6c9f601Copy full SHA for 6c9f601
dev/preview/util/portforward-monitoring-satellite-harvester.sh
@@ -11,8 +11,6 @@ if [[ -z "${VM_NAME:-}" ]]; then
11
VM_NAME="$(preview-name-from-branch)"
12
fi
13
14
-NAMESPACE="preview-${VM_NAME}"
15
-
16
echo "
17
Starting port-forwarding:
18
@@ -35,4 +33,4 @@ pkill -f "kubectl port-forward (.*)9090:9090"
35
33
# 2. Deals with process termination. If you ^C this script xargs will kill the underlying
36
34
#. processes.
37
#
38
-echo "3000:3000 9090:9090" | xargs -n 1 -P 2 kubectl port-forward --context=harvester -n "${NAMESPACE}" svc/proxy
+echo "svc/grafana 3000:3000 svc/prometheus-k8s 9090:9090" | xargs -n 2 -P 2 kubectl port-forward --context="$VM_NAME" -n "monitoring-satellite"
0 commit comments