January 2018
Intermediate to advanced
318 pages
7h 6m
English
To test our deployment we can launch the Sock Shop. This is a demo microservice application written by Weave. You can find its project page at: https://microservices-demo.github.io/.
To launch the shop, we need to run the following commands from within our working directory:
$ kubectl --kubeconfig=kubeconfig create namespace sock-shop$ kubectl --kubeconfig=kubeconfig apply -n sock-shop -f "https://github.com/microservices-demo/microservices-demo/blob/master/deploy/kubernetes/complete-demo.yaml?raw=true"
It will take a few minutes to launch; you can check the progress by running the following:
$ kubectl --kubeconfig=kubeconfig -n sock-shop get pods
Wait for each pod to gain a status of running, as seen in the following screenshot: ...
Read now
Unlock full access