This repository has been archived by the owner on Dec 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment Options Comparison
Stefan Negru edited this page May 16, 2018
·
7 revisions
In terms of load balancing Kubernetes does have an Ingress controller but supports a deployed Load Balancer service, one can use an NGNIX as a load balancer.
- https://stackoverflow.com/questions/45079988/kubernetes-ingress-vs-load-balancer
- Table source: https://www.youtube.com/watch?v=Co3Ur-MbcYY
Kubernetes | Docker Swarm | |
---|---|---|
High availability and scalability | ✔️️ | ✔️️ |
Networking | Flat network, pods communicate between one another. | A node joining the cluster creates an overalay network of services that span all the hosts in Swarm and a host only uses bridge network for containers. |
Logging and monitoring | Support for ELK, Grafana, Sysdig when services deployed | 3rd party applications e.g. http://riemann.io/ |
Docker compose compatible | Works via Kompose, see Kompose Conversion matrix for features supported. e.g. links not used All containers in the same pod are accessible in Kubernetes. | Some features are not reusable in Swarm e.g. (ones we use) privileged, cap_add, devices |
Volumes | Persistent Volumes | Docker Data Volumes |
Auto-scaling | https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ and https://github.com/kubernetes/autoscaler | Auto-scaling not available out-of-the-box |
For a full feature in depth comparison check:
-
https://platform9.com/blog/kubernetes-docker-swarm-compared/
-
https://torusware.com/blog/2016/09/hands-on-orchestration-docker-1-12-swarm-vs-kubernetes/
-
http://blog.reactiveops.com/kubernetes-emptydir-not-the-same-as-dockers-volumes-from
-
https://stackoverflow.com/questions/41668621/how-to-configure-autoscaling-on-docker-swarm
-
Kompose Conversion matrix provides a good reference for some of the features available in Kubernetes