Skip to content

Commit 9bb15b5

Browse files
committed
Improve the demo scripts.
1 parent 90ee34e commit 9bb15b5

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

hack/skupper/install-skupper.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,6 @@ kubectl expose deployment frontend --port 8080 --type LoadBalancer || true
7272

7373
# For some reason the LB ip:port did not work on my machine, so setup a port forward to
7474
# access the front end app:
75-
kubectl port-forward $(kubectl get pods -l app=frontend -o name) 8080&
75+
kubectl -n west port-forward $(kubectl -n west get pods -l app=frontend -o name) 8080 &
7676
sleep 2
7777
open http://localhost:8080
78-
79-
#
80-
# Deploy nexodus proxy routers that will proxy services based on the skupper config:
81-
kubectl config set-context --current --namespace west
82-
make deploy-nexd-router
83-
84-
kubectl config set-context --current --namespace east
85-
make deploy-nexd-router

hack/skupper/replace-with-nexodus.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ make deploy-nexd-router
1111
kubectl scale deployment skupper-router --replicas 0
1212
kubectl rollout status deployment skupper-router --timeout=1m
1313

14-
kubectl port-forward $(kubectl get pods -l app=frontend -o name) 8080 || true&
14+
kubectl -n west port-forward $(kubectl -n west get pods -l app=frontend -o name) 8080 &
1515
sleep 2
1616
open http://localhost:8080

0 commit comments

Comments
 (0)