4 ms·
We are moving to Kubernetes at the moment. What is still miss is this “just run docker-compose up and everything works” setup. Maybe this or Draft from Microsof
by cygned 9y ago
We are moving to Kubernetes at the moment. What is still miss is this “just run docker-compose up and everything works” setup. Maybe this or Draft from Microsoft is something to look into.
- modernpacifist 9y agoYou can sort of achieve the same outcome just my having all the various services/container specs inside a single .yml file that gets fed to 'kubectl apply'. docker-compose up does create networks and containers unique to the app your developing, but you could have the .yml setup a custom namespace and pile everything into that and get close. No option to concat all the log output though AFAIK.
- xnxn 9y agoI use stern for multi-pod log tailing: https://github.com/wercker/stern https://github.com/wercker/stern
- ah- 9y agoI've switched to https://github.com/boz/kail https://github.com/boz/kail now, as stern seems to somehow miss pods coming up.
- alpb 9y agoThere's no shortage of tools that do the same thing in Kubernetes universe :) https://github.com/johanhaleby/kubetail https://github.com/johanhaleby/kubetail
- tedmiston 9y agoKubernetes support in the Edge release of Docker for Mac provides this or via minikube on other platforms. We wrote a short doc on the former for Kubernetes itself if you happen to be on a Mac. https://enterprise.astronomer.io/guides/docker-for-mac/index.html https://enterprise.astronomer.io/guides/docker-for-mac/index... As far as app code, I highly recommend building on Helm if you're not already. I imagine that's what skaffold and draft are doing behind the scenes.
- rdli 9y agoWe (Datawire) also wrote https://forge.sh https://forge.sh which seems similar to Skaffold in a lot of ways. You can think of it as a Kubernetes-native Docker Compose, letting you declaratively define your app & its dependencies and then deploy them all into Kubernetes. We also wrote Telepresence which is mentioned elsewhere in this conversation, and we're working on integrating it into Forge. Forge lets you do things like specify different profiles (QA, staging, prod) when you deploy, map branch names to profiles, do super fast incremental Docker builds, dependencies, etc. What we've found though, over time, is that it's less about the tool and the best practices on how you use these tools -- that's something we're now spending a lot of time now since our users are showing us how they're trying to use this, and it's really fascinating.