Show HN: Kontena – Docker Platform Written in Ruby
kontena.io
kontena.io
Does Kontena allow this?
Thanks!
Edit: btw, you should probably advertise this more on the home page, I'm pretty sure zero downtime is a big no go for many when it comes to docker-compose, especially rails users used to it with unicorn.
And thanks for feedback, it is always appreciated and motivating us to make it better!
The stateful containers in particular seem interesting, and are implemented with data containers. How does the data in the data container stay persistent across nodes?
How does this manage service discovery? What about scaling?
For the service discovery part Kontena has builtin dns server. Each service will get their own dns name: <service_name>.kontena.local. And within a service you can point to individual container using <service_name>-<number>.kontena.local. Latest version (0.7) also introduced grid wide etcd so your application can also use that for custom service discovery.
Scaling is handled so that you can easily join new nodes to grid. Services support scaling so you basically just have to define how many service instances you want and Kontena scheduler will deploy instances (containers) across nodes.
I'm not sure what this is used for, but it looks really interesting! Appreciate the additional information.
Kontena applications can be described in YAML file (kontena.yml). Kontena.yml extends docker-compose.yml format by introducing some new attributes only supported in Kontena, for example scale of a service and deploy specific attributes.
A Service definition describes the container image, networking, scaling and stateful/stateless attributes for your application. Services may be linked together to create desired architecture. Each service is automatically assigned with internal DNS address that can be used inside your application for inter-Service communications.
The summary of Kontena key features:
* Scheduler with affinity filtering
* Built-in private Docker image registry
* Remote VPN access for workload services
* Virtual Networking Built-In
* Ready made load-balancing service
* Log and statistics aggregation with streaming
* Access control and roles for Kontena users