|
@@ -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/
|