Add instruction to add namespace
This commit is contained in:
parent
59ec1dfc7d
commit
5d355dbd80
@ -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