serving the solutions day and night

Pages

Sunday, August 16, 2020

Kubernetes Dashboard

Command to create all the Kubernetes components to run the Dashboard  (https://github.com/kubernetes/dashboard)

kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc5/aio/deploy/recommended.yaml

Access the application locally, command to start Kubernetes proxy server 

kubectl proxy 

 


Docker Compose

 Docker Compose is a tool that can execute containers from a YAML configuration file.
 Create docker-compose.yaml in the c:\myapp\ folder (code in c:\myapp\frontendmvc). 


ASP.NET Core Application with Docker

Create new ASP.NET Core MVC application through Visual Studio with Dockerfile.

OR Using Visual Studio Code, type "code .". Install the VSC extension named Docker by Microsoft, which help us to edit the Docker files.  

OR Create by .NET Core CLI

Create new folder c:\frontendmvc, use powershell to run the below commands

  • mkdir c:\frontendmvc
  • cd c:\frontendmvc
  • dotnet new mvc 
  • dotnet run