Do NOT Use Docker Compose! Develop In Kubernetes (With Okteto)

preview_player
Показать описание
Development and preview environments should be similar to production. If production is in Kubernetes, development should not be managed by Docker Compose, especially if using Kubernetes is just as easy or even easier. Let's prove that with Okteto.

#kubernetes #okteto #dockercompose #docker

▬▬▬▬▬▬ 🔗 Additional Info 🔗 ▬▬▬▬▬▬

▬▬▬▬▬▬ 💰 Sponsoships 💰 ▬▬▬▬▬▬

▬▬▬▬▬▬ 👋 Contact me 👋 ▬▬▬▬▬▬

▬▬▬▬▬▬ 🚀 Courses, books, and podcasts 🚀 ▬▬▬▬▬▬

▬▬▬▬▬▬ ⏱ Timecodes ⏱ ▬▬▬▬▬▬
00:00 Introduction
04:19 Zeet (Sponsor)
05:12 Replace Docker Compose With Okteto
15:24 Should Docker Compose Retire?
Рекомендации по теме
Комментарии
Автор

What do you use for delopment and preview environments? Docker Compose or...?

DevOpsToolkit
Автор

We should change our profession name from Software Engineer to Yaml Engineer

danielhd
Автор

I have just watched a few mins but wow your delivery and simplicity in explaining the reasoning is so refreshing.

vikasgrover
Автор

Would be interesting to see a comparison of Okteto, Tilt, and Skaffold (I see others have asked for it). What's in one and not in another, what do they have in common (and how do they implement it differently), and when to prefer one over the other. Based on your experience/opinion, of course. You might not be able to do such a comparison in 30 min. 🙂

fanemanelistu
Автор

Even if Okteto is "simple to use" it does not remove complexity of dealing with k8s. You cannot remove complexity with handful of abstractions and simplified workflows - it's still there and sooner or later it will bite you. See "Law of Leaky Abstractions".

In larger team context I personally would rather have a lighter docker-compose workflow, but at the same time give developers ability to launch the app in minikube as well. So they at least have a chance to familiarize how production looks like and have a "sandbox".

Jerry_from_analytics
Автор

Nice to stumble across this video! I've evaluated most of the kubernetes development environment tools like Garden and Tilt, and Okteto has been the best fit for my team. The reverse port forwarding functionality, enabling remote PHP debugging, was one of the key differentiating features for us. So for the past few months we've been working on adopting a self-hosted Okteto solution as our development environment. Working great so far!

cowgod
Автор

Viktor: "Please, don't use docker-compose, cause we have so many toys, about which I can tell you cool stories" :)

olehdevua
Автор

I would love to see a video on the combination of okteto and devspace. They seem like they compliment each other quite well.

martinalexander
Автор

For me the main benefit of docker compose is the simple management of dev dependencies like database or message queue for which I don’t have k8s manifests as on prod I usually use managed services of some cloud provider.

davidsevcik
Автор

Everytime I've tried to use a development Kubernetes system, it has broken badly all by itself at some random time, requiring it to be completely removed and reinstalled. I just want something that just works, every day. Docker compose just works.

BradleyBroom
Автор

I like to use Skaffold for this purposes, compared with Okteto it lacks some functionality, but it's simpler (IMHO) to setup and use

mikayelohanjanyan
Автор

What is the problem with using docker compose for production? (and all other environemnts?) Considering mu app has 50k MAU?

Lucy-Luc-Lu-L
Автор

"you are in much bigger trouble then you think" - welcome to my past 3 years of my life.

skies
Автор

Great info, thank you for taking the time to put this together.

viniciosantos
Автор

What is the reasoning behind not using docker-compose in production? I know all the extra goodies that come with k8s eg: auto scalability, better fault-tolerance and .., but not all projects have such requirements. Can you elaborate your vision on that?

arminkhodaei
Автор

Interesting. I used to use Kompose to migrate from docker compose to kubernetes manifest...

javisartdesign
Автор

Indeed, the greatest advantage of using Kubernetes from your laptop is the scalability. I deploy kubeadm clusters but I have powerful laptops and a workstation. This is even more important if you have to deal with service mesh stuff. Okteto is a great alternative.

CarlosAlvarado
Автор

Main question for me would be how easily it integrates into IDEs like VSCode. Remote Extension DevContainers using docker-compose is easy to use for developers

Sebastian-orxw
Автор

Just dabbled here...and great video to encourage me to gradually move to okteto. Thanks

maneshipocrates
Автор

For production env, the deployment manifests are stored in a separate git repo (picked up by ArcoCD). Should we have manifests duplicated in the repo where we want to do Okteto or what is the best practice here?

lyubomyrvyhovskyy