Merge pull request #124 from lucj/master
Add instruction to add namespace for k8s deployment
This commit is contained in:
commit
768172eaf3
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user