Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sainik73 committed Feb 5, 2021
1 parent c7f854a commit a8f7723
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ mvn clean install
The build will output a docker image.

4. Add image to minikube

4.1 Delete any existing image from minikube cache
```
> minikube cache delete <image-name>
Expand All @@ -70,6 +71,7 @@ The build will output a docker image.
> minikube cache add <image-name>
```
5. Setup Kubernetes resources (deployment, services etc)

5.1 Change directory to "k8s" in terminal [Its located under <project-root>/src/main/resources]
```
> kubectl apply -f .
Expand All @@ -79,7 +81,9 @@ The build will output a docker image.
> minikube service students-api
```
7. Test application

7.1 Modify the postman environment for exposed port

7.2 Run postman collection [![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/04fec31e35710e9bdb41#?env%5Bstudents-api-local-env%5D=W3sia2V5IjoiYmFzZVVybCIsInZhbHVlIjoibG9jYWxob3N0OjgxODAiLCJlbmFibGVkIjp0cnVlLCJ0eXBlIjoidGV4dCJ9XQ==)


Expand Down

0 comments on commit a8f7723

Please sign in to comment.