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
commit 768172eaf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/