Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
devspace
DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
Lastly if you are using compose to both build and launch containers then you're going to need more advanced tooling like devspace or skaffold to assist in creating a better development workflow for kubernetes.
Coming back to docker-compose, you can initially use the kompose tool to generate the kubernetes yaml. This will get you up and started. I used this approach to learn how k8s works. A fact you will have to accept is that using Compose is ultimately a dead end, by limiting you to deploying containers to a single machine. Docker Swarm is the only alternative option.
Lastly if you are using compose to both build and launch containers then you're going to need more advanced tooling like devspace or skaffold to assist in creating a better development workflow for kubernetes.
Related posts
- Kubernetes for Startups: Practical Considerations for Your App
- Google to Discontinue Skaffold
- You've just inherited a legacy C++ codebase, now what?
- Is there a way to hot reload the code running in a container when I edit the codebase in VSCode?
- Using AKS for hosting ADO agent and using it to build and test as containers