The commands are slightly different to the ones we ran before, as we do not have to supply a configuration file for kubectl:
$ kubectl create namespace sock-shop$ kubectl apply -n sock-shop -f "https://github.com/microservices-demo/microservices-demo/blob/master/deploy/kubernetes/complete-demo.yaml?raw=true"
Again, you can check the status of the pods by running the following:
$ kubectl -n sock-shop get pods
Once all of the pods are running you can expose the application by running the following:
$ kubectl -n sock-shop expose deployment front-end --type=LoadBalancer --name=front-end-lb$ kubectl -n sock-shop get services front-end-lb$ kubectl -n sock-shop describe services front-end-lb
This should give you a port and IP address. ...