How to Deploy .NET Apps to Kubernetes

  Рет қаралды 32,941

Nick Chapsas

Nick Chapsas

2 ай бұрын

Use code KUBE20 and get 20% off the brand new "From Zero to Hero: Kubernetes for Developers" course on Dometrain: dometrain.com/course/from-zer...
Become a Patreon and get special perks: / nickchapsas
Hello, everybody, I'm Nick, and in this video, I will show you how you can deploy your .NET applications and system to Kubernetes (k8s), and we will do that using .NET Aspire.
Give Aspirate a star on GitHub: github.com/prom3theu5/aspirat...
Workshops: bit.ly/nickworkshops
Don't forget to comment, like and subscribe :)
Social Media:
Follow me on GitHub: github.com/Elfocrash
Follow me on Twitter: / nickchapsas
Connect on LinkedIn: / nick-chapsas
Keep coding merch: keepcoding.shop
#csharp #dotnet

Пікірлер: 37
@DaveSekula
@DaveSekula 2 ай бұрын
Thanks Nick, Sorry about the name :P
@DevonLehmanJ
@DevonLehmanJ 2 ай бұрын
All the tutorials are starting new projects. What I need to see is how I can convert my many services (in many repos) into an aspire project without a ton of refactoring
@warrenbuckley3267
@warrenbuckley3267 2 ай бұрын
My thoughts exactly. I'm just talking with a colleague on Teams about this very thing.
@TuxCommander
@TuxCommander 2 ай бұрын
Same.
@victorgarcia3526
@victorgarcia3526 2 ай бұрын
I would tell you to wait, because this isn't production ready yet
@bangonkali
@bangonkali 2 ай бұрын
Most asp net core apps by virtue of the default templates are mostly monolithic and I don't personally really think one can gain much advantage with kubernetes for monolithic apps except increase complexity to a certain extent. But if you have a Microservices based architecture then that is most definitely going to take advantage of orchestration systems or distributed solutions such as kubernetes and the entire ecosystem behind it. For anyone deploying to kubernetes I always remind them that managing kubernetes and understanding the ecosystem is also a significant thing. If you think you need kubernetes you must have a very good reason to do so otherwise I discourage anyone moving to kubernetes without a kubernetes guy who knows it inside out when deploying mission critical applications. Remember when you move to solutions such as kubernetes it is not only kubernetes that you need to understand but everything around it's ecosystem because it's rarely being the only one involved. I highly encourage any dev to learn and understand kubernetes and similar solutions and most importantly to be guided by that wisdom to know when a project is at the level it needs kubernetes or not need it yet. Also make sure to be wary with aspire as it is in its infancy. Good to study and learn it but not yet ripe for production mission critical applications. I have deployed a many production distributed applications on managed (Azure, gcp, AWS, do, Linode) and on premise kubernetes (k3s) and I've seen headaches around adapting configurations when upgrading kubernetes as well so adjusting to real world networking constraints I'm just glad I'm still sane today. 😂 But if you are really interested in Kubernetes do not forget to master terraform (or the True open-source variants) as well as both go hand in hand nowadays. Good luck with your migrations 😂
@bnm0312
@bnm0312 2 ай бұрын
Not difficult at all and no refactoring of your code. But you do need to be running VS 2022 Preview and convert your project to .NET 8. Then you'll tell VS to "Add .NET Aspire Orchestration Support" and you're off to the races. It's NOT production so create a feature branch in Git to test it out. I've done it to some existing projects with good success.
@petermakwakwa3576
@petermakwakwa3576 2 ай бұрын
I have been looking forward to it, Thanks Nick
@kurumi690
@kurumi690 2 ай бұрын
I was exiting of Aspire since Microsoft pre-released 1 view. And I was waiting for your video about deploying my awesome micro-services app XD thx for you guide lines, Nick!
@nztzn
@nztzn 2 ай бұрын
Wow, I was just looking for it. Thanks Nick!
@Alexander-by4uv
@Alexander-by4uv 2 ай бұрын
Hey Nick! Great stuff! It would be great to see how Aspire can be meaningful used in combination with Dapr. Which responsibilities overtakes the one or another framework and how it could streamline the whole development from dev over test to prod. Many thanks
@Leafgard
@Leafgard Ай бұрын
Great video! Is it possible to run the .NET debug mode (integrated in Rider) inside a Kubernetes deployment ?
@OrgesKreka
@OrgesKreka 2 ай бұрын
what is the difference between aspire and dapr?
@A-JesusWlkr
@A-JesusWlkr 4 күн бұрын
You have really nice CMD prompt setup. What is it and how can I achieve similar look ?
@Crozz22
@Crozz22 2 ай бұрын
I don't really get the value proposition of Aspire. We can already deploy to Kubernetes quite easily with helm and dockerfiles. My first impression of Aspire is that it is just another layer on top of this, but not a very thick layer so there doesn't seem to be a lot of simplification at all and no point locking myself into Aspire when I can just keep using helm etc. What am I missing?
@davidfowl
@davidfowl 2 ай бұрын
It's sort like asking why does helm add value when I can use kustomize and bash scripts. Aspire is more productive because it adds a layer of abstraction that can be tooled so you don't need to worry about every little detail. This is what *any* good tool does. Tries to hide the details until you need to know them. The best tools allow you to drop down to the lower layers beneath the abstraction for full control as well.
@vinydanylo
@vinydanylo 2 ай бұрын
TBH the name Aspirate is kinda cool 😅 like as-pirate
@silkfire
@silkfire 2 ай бұрын
You mean ass-pirate?
@razvan5736
@razvan5736 2 ай бұрын
Is this a limitation for .Net Aspire that your services needs to be under the same solution/same repo? What about connecting your API to a SPA build in React/Vue?
@nickchapsas
@nickchapsas 2 ай бұрын
They don’t need to be under the same repo, no. They don’t even have to be .NET
@razvan5736
@razvan5736 2 ай бұрын
@@nickchapsas A tutorial covering how to connect multiple microservices across repos & programming languages will be insane to watch 👀
@jaygis5831
@jaygis5831 2 ай бұрын
The problem with .net aspire is that you have all the projects (backend and front end) in the same solution. This is quite problematic for large projects and companies where workloads are splitter through different teams. First remark
@antonmartyniuk
@antonmartyniuk 2 ай бұрын
Nick is lazy and feeding us again and again with Weather Forecast, lol 😂
@na_berna
@na_berna 2 ай бұрын
Hi Nick! Whats the name of the app to visualize the k8's containers and services? Thanks!
@nickchapsas
@nickchapsas 2 ай бұрын
It's called Lens
@na_berna
@na_berna 2 ай бұрын
​@@nickchapsas Thank you very much!!!!
@Wickerman1989
@Wickerman1989 2 ай бұрын
Dude you read my mind, how do you do it? :D
@DeathRuNNerVST
@DeathRuNNerVST 2 ай бұрын
What's the ui app you are using to manage kubernetes .?
@efrenb5
@efrenb5 2 ай бұрын
Looks like Lens.
@geraldmatthews7020
@geraldmatthews7020 2 ай бұрын
aspirate AKA aspir8 for k8
@serus164
@serus164 2 ай бұрын
Hey, Nick, would you show us some tests of latest Claude AI model regarding its C# coding capabilities?
@kapiosk
@kapiosk 2 ай бұрын
Cake is good
@ravikumarmistry
@ravikumarmistry 2 ай бұрын
I just want an API, this is too complex for someone who just wants to put food on the plate. Requires a lot of understanding of concepts that one might not be using on a day-to-day basis. It will require a Team and specialization in the field. I will stick with Containers and container apps Its a Bliss
@Ricks_Shorts
@Ricks_Shorts 2 ай бұрын
I agree - it is stupidly complicated for what it gives you. The deployment tools are getting more complex than the code in the deployed application!
Swagger is Going Away in .NET 9!
10:48
Nick Chapsas
Рет қаралды 63 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 207 М.
[Vowel]물고기는 물에서 살아야 해🐟🤣Fish have to live in the water #funny
00:53
ISSEI funny story😂😂😂Strange World | Pink with inoCat
00:36
ISSEI / いっせい
Рет қаралды 31 МЛН
"Stop Using Async Await in .NET to Save Threads" | Code Cop #018
14:05
The Pattern You MUST Learn in .NET
20:48
Nick Chapsas
Рет қаралды 74 М.
Getting Started with OpenTelemetry in .NET
19:56
Nick Chapsas
Рет қаралды 44 М.
5 Rules For DTOs
17:56
Ardalis
Рет қаралды 35 М.
Await Async Tasks Are Getting Awesome in .NET 9!
9:24
Nick Chapsas
Рет қаралды 82 М.
The New Best Way To Search for Values in .NET 8
11:05
Nick Chapsas
Рет қаралды 68 М.
Make Your LINQ Up to 10x Faster!
11:08
Nick Chapsas
Рет қаралды 52 М.
The Best Way to Add Health Checks in Any .NET App
12:31
Nick Chapsas
Рет қаралды 85 М.
ChatGPT Can Now Talk Like a Human [Latest Updates]
22:21
ColdFusion
Рет қаралды 334 М.