Manage Docker and Kubernetes in VSCode

  Рет қаралды 27,390

Christian Lempa

Christian Lempa

Күн бұрын

Discover how I revolutionized my HomeLab workflow by managing Docker and Kubernetes directly in VS Code! In this video, I dive into why VS Code, with its powerful extensions, has become my go-to for container management, offering simplicity and efficiency unmatched by other tools. #Docker #Kubernetes #TechTutorial
ARMO-*: www.armosec.io
Related Videos/Links
• The best VSCode extens...
• Using *HA* Kubernetes ...
________________
💜 Support me and become a Fan!
→ christianlempa.de/patreon
💬 Join our Community!
→ christianlempa.de/discord
👉 Follow me everywhere
→ christianlempa.de
________________
Read my Tech Documentation
christianlempa.de/docs
My Gear and Equipment-*
christianlempa.de/kit
________________
Timestamps:
00:00 Introduction
00:51 Advertisement-*
02:33 Why a code editor for container management?
05:32 Manage Remote Servers
08:30 Manage Docker Containers
12:40 Manage Kubernetes
________________
All links with “`*`” are and/or include affiliate links.

Пікірлер: 78
@somegeek7126
@somegeek7126 7 ай бұрын
I've been using vscode to manage my docker compose projects for 2 year now. The remote explorer extention is fantastic and, thanks to your video, I now understand how useful the docker extension can be. Thanks a lot Christian !
@JustinJ.
@JustinJ. 7 ай бұрын
This new format of your channel since you returned is so good, really enjoying the content coming out, keep 'em coming 👍
@christianlempa
@christianlempa 7 ай бұрын
Thank you so much! That is great feedback :)
@user-jw1eh1qz1k
@user-jw1eh1qz1k 7 ай бұрын
Happy to see you on the road again, Christian!
@christianlempa
@christianlempa 7 ай бұрын
Thank you 😊
@billramsey5252
@billramsey5252 7 ай бұрын
Great video! I knew about some of the docker extensions, but had no clue about all of the integrations it offered. Thanks!
@christianlempa
@christianlempa 7 ай бұрын
Glad it was helpful!
@LevantinLynx
@LevantinLynx 7 ай бұрын
Great video showing alternative ways to manage servers and docker 👍 One big caveat of VS Code and Remote SSH extension is that the server site “client” uses a lot of memory. (110MB+) E.g. if you’re using a raspberry pi 3 or a cheap 1C 1GB VPS that’s over 10%, on a pi zero it’s over 20%. Just be aware of this, so you don’t produce out of memory exceptions.
@jag831
@jag831 7 ай бұрын
You always have great workflows, automations, and you really put time into continuous improvement and also showcase your knowledge! That's why I LOVE your channel! One question: How do you manage your homelab in terms of patch management? As I develop my own homelab, it becomes clear that just setting up services and forgetting about them in terms of upgrades/updates is not the smartest thing to do, but having a "dev" and "prod" environments for testing patches is a total overkill for my lab, which is a hobby (I don't want my hobby to become part time job; I already work in IT)
@mavoilure
@mavoilure 5 ай бұрын
That's awesome. Great topics. Save me time... and made it easy now. Thanks!!
@TheMrmaxno
@TheMrmaxno 3 ай бұрын
That is an awesome video, quite helpful and it really makes things easier
@christianlempa
@christianlempa 3 ай бұрын
Glad it was helpful!
@agelosnm
@agelosnm 7 ай бұрын
I use Docker extension a lot and is very helpful! For Kubernetes though I am using Lens which I find really great as tool as you basically have a general dashboard to see around what is going on in the cluster.
@christianlempa
@christianlempa 7 ай бұрын
Lens is also great! I agree :)
@robertopontone
@robertopontone 7 ай бұрын
super useful tutorial, thank you so much 👍
@christianlempa
@christianlempa 7 ай бұрын
Glad it was helpful!
@forsaken1776
@forsaken1776 7 ай бұрын
I've learned I could remote manage Docker which is awesome. just wish I couldn't figure out which of my 3 containers are messing up nextcloud.
@JonBrookes
@JonBrookes 7 ай бұрын
really usefull, relevant and pragmatic why are not others talking more about this - I used vscode a lot and picked up things from this video so thanks for covering this so well
@christianlempa
@christianlempa 7 ай бұрын
Thank you! :) Hope to cover those kind of topics more in the future
@ronm6585
@ronm6585 7 ай бұрын
Thanks Christian.
@cursoderobotica
@cursoderobotica 7 ай бұрын
I also use VScode to manage my rapsberrypi!! Great tool!! Thank you for the video!! Cheers!!
@christianlempa
@christianlempa 7 ай бұрын
Very cool! Thanks!
@user-ud8hw4gp6t
@user-ud8hw4gp6t 7 ай бұрын
ich finde es auch witzig wie einem in anderen it bereichen immer gesagt wird man solle doch bitte eine ordentliche ide (jetbrains etc) benutzen, aber wenn man dann in die höheren bereiche kommt (cloud und ml) dann merkt man das alle devs dort vscode benutzen. jetbrains habe ich anfangs mal für react benutzt, aber es hat mich dann so genervt, das man die einstellung für das startverhalten beim debuggen nicht findet und selbst die leute im discord keine ahnung hatten wie man den port, start tasks etc anpassen kann, das ich es einfach nicht mehr benutzt habe. ist ja cool das es da so viele einstellungen gibt, aber wenn man den wald vor lauter bäumen nicht mehr sieht ist halt kacke. deswegen respect das du sagst: für jeden gibt es die richtigen tools
@Rafael-oq9vu
@Rafael-oq9vu 7 ай бұрын
great video! subscribed
@christianlempa
@christianlempa 7 ай бұрын
Awesome, thank you! And welcome!
@shetuamin
@shetuamin 7 ай бұрын
Another good video. At the beginning I was using Mobo xtrem with notepad+. Now I use only use vscode.
@christianlempa
@christianlempa 7 ай бұрын
Glad you enjoyed it
@rob280
@rob280 7 ай бұрын
Good video, I like the remote ssh connection to be able to edit files right on the server.
@christianlempa
@christianlempa 7 ай бұрын
Thank you!
@zwstyles621
@zwstyles621 7 ай бұрын
Hey @Christian - Can you do a video showing us how Codacy works and how we can use this in a homelab environment. I see they have an OSS SaaS solution for code scanning
@dageekkid
@dageekkid 7 ай бұрын
Let's go VSCodium. :)
@LevantinLynx
@LevantinLynx 7 ай бұрын
Well… it doesn’t support ssh remote as far as I can tell. So there is no way to use it as Christian is using it then.
@cheebadigga4092
@cheebadigga4092 7 ай бұрын
no Microsoft extension works with VSCodium, and most of the Remote Development extensions are from Microsoft
@zyghom
@zyghom 7 ай бұрын
I am also using VSC but I got stopped on permissions: all my remote machines run dockers as root, ssh is only allowed for the user - not root of course. So when I use VSC I cannot manage remote containers not being root there. Rootless docker for some reasons is not really working there.
@bladethirst1
@bladethirst1 7 ай бұрын
Is there some vscode extension that can translate a yaml to a container graph?
@Hasack
@Hasack 7 ай бұрын
Hi Christian, wonderful, engaging video as always. Would you mind a question? I see a wonderful library of docker compose and yml/yaml files. Do you sync those somehow across your different docker hosts (sorry if that’s the wrong word)? If so, what’s the best way of doing it? I’m guessing you might use GitHub somehow?
@Jacob4duke
@Jacob4duke 7 ай бұрын
has anyone run into issues with debian 12 docker container being unable to ssh into it with the plugin? this is the error i get "channel 3: open failed: administratively prohibited: open failed"
@bboyfool215
@bboyfool215 7 ай бұрын
Very very useful content... What is the terminal at 14:10 are you using and which extension/plugin you install for autocomplete?
@simo47768
@simo47768 7 ай бұрын
Cool for navigating and exploring but not for editing. Always use argocd and work from git to edit. And for secrets use sealed secrets. Your videos are awesome
@SB-qm5wg
@SB-qm5wg 7 ай бұрын
That's pretty cool.
@christianlempa
@christianlempa 7 ай бұрын
Thx!
@wstrater
@wstrater 7 ай бұрын
Looking forward to trying those extensions but what really interests me is if I can split the VS Code screen and have my documentation on one side and the workflow on the other. Everything I am using at the same time in one screen!
@christianlempa
@christianlempa 7 ай бұрын
You can open multiple VSCode windows, or you can split the editor into multiple windows. It's all possible.
@cidhighwind8590
@cidhighwind8590 2 ай бұрын
But why do you need VS code tool when you have the terminal?
@user-ud8hw4gp6t
@user-ud8hw4gp6t 7 ай бұрын
ich musste mich hinsichtlich kubernetes auch erstmal mit vscode zurechtfinden, aber was wirklich cool ist: secondary sidebar für kubernetes; dann kann man über sshfs die die volumes auf dem host mounten die man dann in vscode über multi root workspace einsehn kann. das ist aber auch jedesmal viel arbeit: docker starten, minikube starten, sshf verbindung herstellen, dann die ganzen ports forwarden usw in vscode. den ganzen anderen quatsch kann man dann ja in kubernetes dashboard machen (helm charts, übersicht über leistung etc). das ssh plugin kann man natürlich auch benutzen, aber irgendwie habe ich da noch nicht so den sinn für kubernetes gefunden. also ich mach aber auch alles auf einem rechner. also man kann mit minikube ja auch volumes vom host aus mounten, aber das muss eine 9p partition sein und das kriege ich auf rocky linux mal 0 hin, weil dieses epel release ding meine nvidia treiber nicht lädt
@MarcosMoraleda
@MarcosMoraleda 7 ай бұрын
Thanks you!
@christianlempa
@christianlempa 7 ай бұрын
You're welcome :)
@maxtester8824
@maxtester8824 7 ай бұрын
As always really awesome video, Christian! I have a question, though: can you recommend alternatives to the microsoft extensions for those of us who want to avoid MS telemetrics by using VSCodium instead of VSCode?
@christianlempa
@christianlempa 7 ай бұрын
Thanks! Hm not really, I mean why would you need alternatives?
@dltmap
@dltmap 7 ай бұрын
@@christianlempa When using VSCodium you don't have access to those extension. :/
@mykyar9142
@mykyar9142 7 ай бұрын
Why so small number of views? This is wunderbar video!
@christianlempa
@christianlempa 7 ай бұрын
Thanks 🙏
@danibjor
@danibjor 7 ай бұрын
Nice tips, I like it. Have you tried this with docker-swarm?
@christianlempa
@christianlempa 7 ай бұрын
Not yet!
@rotesblut9904
@rotesblut9904 7 ай бұрын
I noticed on most of your video, you have auto suggestion in vscode editor or terminal. How can you do that?
@christianlempa
@christianlempa 7 ай бұрын
In the Warp terminal, it's a built-in feature
@oliverbarreto1838
@oliverbarreto1838 7 ай бұрын
I know it’s off topic but … almost cooler than Docker itself… what is the Matrix rain live background you have running on your Mac ??? Can you share details please… And BTW… great video showing your workflow
@christianlempa
@christianlempa 7 ай бұрын
Haha thanks :D It's just a simple "cmatrix" in my terminal ;)
@oliverbarreto1838
@oliverbarreto1838 7 ай бұрын
Can you share the secret sauce ? I would love to have the same background on my studio
@Brianmk1977
@Brianmk1977 2 ай бұрын
Great video. Can see you use 1 password for key managen. Hope will make video how to to integrate 1 password with vs code for remove access to servers. I can find any good videos about that. 🤞🏻
@christianlempa
@christianlempa 2 ай бұрын
Thanks! I hope to make a comprehensive video about 1pass for devops at some point, but it's not a high priority on my list tbh
@vinaduro
@vinaduro 7 ай бұрын
What can VS Code not do? I only recently started using it, and it looks like it will replace a whole bunch of my existing applications. Thanks for the great video, as always.
@christianlempa
@christianlempa 7 ай бұрын
Thanks! Yeah VSCode is truely amazing :)
@ManelRodero
@ManelRodero 7 ай бұрын
@@christianlempa Yes. VSCode does more and more things. But it has a small problem and that is that it is getting heavier and heavier. I still remember when he appeared to overshadow Sublime Text. We don't realize it because our computers are also becoming more and more powerful, but if you try to run VSCode on the same computer where you tried it for the first time... it's not the same anymore ;-)
@cheebadigga4092
@cheebadigga4092 7 ай бұрын
The file extension doesn't matter in and of itself, but the defacto standard for defining Kubernetes resources is the yaml file extension, whereas the defacto standard for defining Compose files is the yml file extension. The Kubernetes Apply extension most likely just doesn't want to confuse the two (because both kubectl and docker-compose will work with both extensions) and thus only recognizes the yaml file extension. Why do I say defacto standard? Because all the docs about Kubernetes mention the yaml extension, and all the docs about Compose mention the yml extension. Why is that? Docker was released in 2013, and Kubernetes was released in 2014. The Kubernetes team probably wanted to make a distinction here using the yaml file extension because everything about Compose was already using the yml file extension. If you will, Kubernetes Apply actually "adheres to the Kubernetes standard", so to speak. So nothing weird about that one, as long as you're aware of that small detail.
@navrobot
@navrobot 7 ай бұрын
Less is more!! Thanks Christian great video
@christianlempa
@christianlempa 7 ай бұрын
Thanks :)
@martinpetersson6979
@martinpetersson6979 7 ай бұрын
lovely and 🙏
@bluesquadron593
@bluesquadron593 7 ай бұрын
lol I have started to use VS code literally some 20 days ago to manage my docker hosts.
@christianlempa
@christianlempa 7 ай бұрын
Awesome :D
@harrywer
@harrywer 7 ай бұрын
Have you tried Dockage?
@christianlempa
@christianlempa 7 ай бұрын
No yet but it's on my list for next year! :)
@timvw01
@timvw01 7 ай бұрын
How closely related are you to Arnold Schwarzenegger?
@kev2382
@kev2382 7 ай бұрын
😅
@dastiffmeister1
@dastiffmeister1 7 ай бұрын
Relation: 1 octave removed
@fvgoya
@fvgoya 7 ай бұрын
His is Arnold.
Learning Docker // Getting started!
35:56
Christian Lempa
Рет қаралды 104 М.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 144 М.
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 37 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 72 МЛН
Docker vs Kubernetes, what's better in a Homelab?
14:57
Christian Lempa
Рет қаралды 80 М.
Manage Docker & Kubernetes Remotely with VS Code!
21:34
Jim's Garage
Рет қаралды 11 М.
Installing Kubernetes with Rancher in 2024!
17:36
Virtual Elephant
Рет қаралды 4,4 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 418 М.
Is this the BEST Reverse Proxy for Docker? // Traefik Tutorial
21:57
Christian Lempa
Рет қаралды 503 М.
the ULTIMATE kubernetes management tools comparison!
19:12
Christian Lempa
Рет қаралды 58 М.
Crazy fast Kubernetes Automation with Terraform
26:23
Christian Lempa
Рет қаралды 94 М.
This Docker Compose UI is amazing! // Dockge
13:08
Christian Lempa
Рет қаралды 98 М.
It’s time for a new HomeLab Dashboard // Homepage
23:55
Christian Lempa
Рет қаралды 92 М.
My Favorite Way To Handle Dev Environments | VS Code Devcontainers
30:05
Как бесплатно замутить игровой ноутбук
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 183 М.
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 367 М.
Top 50 Amazon Prime Day 2024 Deals 🤑 (Updated Hourly!!)
12:37
The Deal Guy
Рет қаралды 1,4 МЛН