DEV Community

Discussion on: Use Azure Kubernetes Service (AKS) + Traefik instead of Azure Functions hosting + Azure API Management

Collapse
 
deyanp profile image
Deyan Petrov • Edited

Hi @casperrubaekm ,

Why F# and not C# is a huge topic with a lot of googleable links on it already, I will simply say that after countless years with C# and early experience with a bunch of other low-level and OOP languages I am fully sold on the simplicity and elegance of F# and the functional paradigm ..

I will try to find time for another post on setting up AKS with Traefik etc.

Missed the question about AKS alternatives - I guess there are viable ones for sure, hoping to find time in the future to test GKE for example ... The context of the above article was an already built Azure-Functions-based microservice system, which was easier to migrate to AKS (and stay inside Azure for the other integrated services like AppInsights, KeyVault, Event Hubs, Storage etc) rather than migrate to another cloud ...

Br,
Deyan

Collapse
 
casperrubaekm profile image
Casper Rubæk

Sounds like I should take F# for a spin sometime.

Yes it makes sense to stick with Azure since you are heavily invested in supporting services like AppInsights and KeyVault.

Collapse
 
deyanp profile image
Deyan Petrov • Edited

For hosting pure .NET 5 apps you need:

  • AKS
  • Traefik
  • AAD Pod Identity (so that the pods can contact Key Vault without credentials)

I see there some excellent articles on setting up AKS with Traefik - e.g. [this one from Kumar Allamraju](kumar-allamraju.medium.com/using-t...

Also Aad Pod Identity is quite well-documented, even MS is building it into AKS ...

So not sure if an additional post of mine is actually needed ...

Maybe what is not covered is the automatic renewal of Letsencrypt certificates for which we have created a custom .net app/pod to do that, based on someones F# code, need to dig it out ...

Thread Thread
 
casperrubaekm profile image
Casper Rubæk • Edited

Thanks.

I have just read the article you mentioned for configuring Traefik and it is great, however I would like to know how an AKS cluster might look like in a real world production app.
There is a lot to learn from it such as service mesh, health checks, monitoring, interservice communication, shared or non shared databases, etc..
So if you get the time I would look forward to reading an article on how such an AKS cluster would look like, ideally based on your own real world production microservices app.