Imagine that you have a kubernetes cluster. This cluster orchestrates many services behind the load balancer.
-
Clone the GitHub repo on your local which is specified as sample-app.
-
Create a docker file for building a .net core web app within the docker image.
-
You need to create a DockerHub account for uploading image.
-
Build a docker image and upload this to the DockerHub.
-
End to End HTTP communication is Ok for this case study.
-
Create a kubernetes definition file for :
- Create one ingress for handling HTTP requests from outside the cluster
- Create one service for load balancing across the pods
- Create a deployment with two pods that are hosting our app instances from DockerHub (which is you've uploaded).
-
You should be able to test the application with the following URL pattern with HTTP GET request when you complete it :
-
http://{{IP}}:{{Port}}/WeatherForecast
-
-
You could prepare one-click install script file as bash or shell to install and run the mini-cluster.
Design a system that contains all rules in the details and please make a readme file to explain your solution. You could also draw diagrams and flow charts. You could use any software language, platform, tool, library, or framework except those specified as required in the details section. Please push your solution to GitHub and share the related URL with us.