Wanted: Tutorial for running ASP.NET with Database in Kubernetes on Docker Desktop

  • Thread starter Thread starter siegfried_
  • Start date Start date
S

siegfried_

Guest
I have made some minor corrections and enhancements to

"Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2

including adding a distributed cache (via MS SQL Server) for Azure Active Directory (AAD) authentication tokens.

This is a minimal demo presently consists of two ASP.NET core projects:

  1. TodoListClient that authenticates the user with AAD B2C
  2. TodoListService that retrieves the "to do" list.

Can someone please point me to the appropriate tutorial and documentation for learning how to use Visual Studio 2019 to

  1. add a docker/kubernetes container for the token cache implemented with Docker container for MS SQL Server Express
  2. create and deploy replica sets for the Client & Service
  3. Run them on Kubernetes with Docker desktop?

I've created docker images of the two existing projects and I'm not sure how to add the Docker container for MS SQL Server.

I've been reviewing the book "Kubernetes Up and Running" by Hightower et al. Chapter 13 where they discuss the Mysql Singleton.

4. I'm already running my application from Visual Studio and using the MS SQL Express server in a docker container and it working. Do I need to create a persistent volume? It appears to me that the Docker container has its own internal storage for the databases.

Thanks


Siegfried




siegfried heintze

Continue reading...
 
Back
Top