Merge pull request #124 from lucj/master

Add instruction to add namespace for k8s deployment
This commit is contained in:
Mano Marks
2018-10-25 13:13:15 -07:00
committed by GitHub

View File

@ -56,6 +56,12 @@ Run the app in Kubernetes
The folder k8s-specifications contains the yaml specifications of the Voting App's services. The folder k8s-specifications contains the yaml specifications of the Voting App's services.
First create the vote namespace
```
$ kubectl create namespace vote
``
Run the following command to create the deployments and services objects: Run the following command to create the deployments and services objects:
``` ```
$ kubectl create -f k8s-specifications/ $ kubectl create -f k8s-specifications/