Manage Docker and Kubernetes in VSCode

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 77

  • @somegeek7126
    @somegeek7126 Год назад

    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. Год назад +5

    This new format of your channel since you returned is so good, really enjoying the content coming out, keep 'em coming 👍

    • @christianlempa
      @christianlempa  Год назад +1

      Thank you so much! That is great feedback :)

  • @CarlesDelCollado-DevOps
    @CarlesDelCollado-DevOps Год назад

    Happy to see you on the road again, Christian!

  • @LevantinLynx
    @LevantinLynx Год назад +1

    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 Год назад +2

    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)

  • @epithesi_sobrero
    @epithesi_sobrero Год назад

    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.

  • @cursoderobotica
    @cursoderobotica Год назад

    I also use VScode to manage my rapsberrypi!! Great tool!! Thank you for the video!! Cheers!!

  • @lameshithead
    @lameshithead 11 месяцев назад

    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

  • @TheMrmaxno
    @TheMrmaxno 7 месяцев назад

    That is an awesome video, quite helpful and it really makes things easier

  • @billramsey5252
    @billramsey5252 Год назад

    Great video! I knew about some of the docker extensions, but had no clue about all of the integrations it offered. Thanks!

  • @mavoilure
    @mavoilure 10 месяцев назад

    That's awesome. Great topics. Save me time... and made it easy now. Thanks!!

  • @dageekkid
    @dageekkid Год назад +5

    Let's go VSCodium. :)

    • @LevantinLynx
      @LevantinLynx Год назад +1

      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 Год назад

      no Microsoft extension works with VSCodium, and most of the Remote Development extensions are from Microsoft

  • @JonBrookes
    @JonBrookes Год назад

    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  Год назад

      Thank you! :) Hope to cover those kind of topics more in the future

  • @shetuamin
    @shetuamin Год назад

    Another good video. At the beginning I was using Mobo xtrem with notepad+. Now I use only use vscode.

  • @simo47768
    @simo47768 Год назад

    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

  • @robertopontone
    @robertopontone Год назад +1

    super useful tutorial, thank you so much 👍

  • @maxtester8824
    @maxtester8824 Год назад +2

    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  Год назад +1

      Thanks! Hm not really, I mean why would you need alternatives?

    • @dltmap
      @dltmap Год назад

      @@christianlempa When using VSCodium you don't have access to those extension. :/

  • @ronm6585
    @ronm6585 Год назад

    Thanks Christian.

  • @rob280
    @rob280 Год назад

    Good video, I like the remote ssh connection to be able to edit files right on the server.

  • @mykyar9142
    @mykyar9142 Год назад

    Why so small number of views? This is wunderbar video!

  • @forsaken1776
    @forsaken1776 11 месяцев назад

    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.

  • @wstrater
    @wstrater Год назад

    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  Год назад

      You can open multiple VSCode windows, or you can split the editor into multiple windows. It's all possible.

  • @oliverbarreto1838
    @oliverbarreto1838 Год назад +1

    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  Год назад

      Haha thanks :D It's just a simple "cmatrix" in my terminal ;)

    • @oliverbarreto1838
      @oliverbarreto1838 Год назад

      Can you share the secret sauce ? I would love to have the same background on my studio

  • @lameshithead
    @lameshithead 11 месяцев назад

    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

  • @vinaduro
    @vinaduro Год назад +1

    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  Год назад +1

      Thanks! Yeah VSCode is truely amazing :)

    • @ManelRodero
      @ManelRodero Год назад

      @@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 ;-)

  • @bboyfool215
    @bboyfool215 11 месяцев назад

    Very very useful content...
    What is the terminal at 14:10 are you using and which extension/plugin you install for autocomplete?

  • @Rafael-oq9vu
    @Rafael-oq9vu Год назад

    great video! subscribed

  • @Hasack
    @Hasack Год назад

    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?

  • @zwstyles621
    @zwstyles621 Год назад

    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

  • @cheebadigga4092
    @cheebadigga4092 Год назад

    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.

  • @SB-qm5wg
    @SB-qm5wg Год назад

    That's pretty cool.

  • @zyghom
    @zyghom Год назад +1

    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.

  • @Brianmk1977
    @Brianmk1977 7 месяцев назад

    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  6 месяцев назад

      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

  • @brandomiranda6703
    @brandomiranda6703 4 месяца назад

    Is it possible or very difficult to quote SSH directly into a pod and edit the file there and test it on the kubernetes deployment environment for me it's mostly being able to access the gpus I have in the kubernetes cluster and develop there and then later run it quickly there

  • @danibjor
    @danibjor Год назад

    Nice tips, I like it. Have you tried this with docker-swarm?

  • @MarcosMoraleda
    @MarcosMoraleda Год назад

    Thanks you!

  • @bladethirst1
    @bladethirst1 Год назад

    Is there some vscode extension that can translate a yaml to a container graph?

  • @rotesblut9904
    @rotesblut9904 Год назад

    I noticed on most of your video, you have auto suggestion in vscode editor or terminal. How can you do that?

    • @christianlempa
      @christianlempa  Год назад

      In the Warp terminal, it's a built-in feature

  • @bluesquadron593
    @bluesquadron593 Год назад

    lol I have started to use VS code literally some 20 days ago to manage my docker hosts.

  • @cidhighwind8590
    @cidhighwind8590 6 месяцев назад

    But why do you need VS code tool when you have the terminal?

  • @Jacob4duke
    @Jacob4duke Год назад

    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"

  • @martinpetersson6979
    @martinpetersson6979 11 месяцев назад

    lovely and 🙏

  • @harrywer
    @harrywer Год назад

    Have you tried Dockage?

    • @christianlempa
      @christianlempa  Год назад

      No yet but it's on my list for next year! :)

  • @timvw01
    @timvw01 Год назад +10

    How closely related are you to Arnold Schwarzenegger?