O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Sock Shop

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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required