Skip to content

Commit 83eeed4

Browse files
committed
Add svc.clusterset.local example to demo
There was no prior example demonstrating this functionality in make demo. Signed-off-by: kahirokunn <okinakahiro@gmail.com>
1 parent c39ee2e commit 83eeed4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demo/demo.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ desc "Now grab the multi-cluster VIP from the serviceimport..."
7878
run "${k1} get serviceimport -n demo -o go-template --template='{{index (index .items 0).spec.ips 0}}{{\"\n\"}}'"
7979
desc "...and connect to it"
8080
run "${k1} -n demo run -i --rm --restart=Never --image=jeremyot/request:0a40de8 request -- --duration=10s --address=${vip}"
81+
run "${k1} -n demo run -i --rm --restart=Never --image=jeremyot/request:0a40de8 request -- --duration=10s --address=serve.demo.svc.clusterset.local"
8182
desc "We have a multi-cluster service!"
8283
desc "See for yourself"
8384
desc "Cluster 1: kubectl --kubeconfig ${kubeconfig1} -n demo"

0 commit comments

Comments
 (0)