Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Kubernetes vs Docker Swarm

 
security forum advocate
Posts: 232
1
Android Flex Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why should one go for Kubernetes over Docker Swarm for deploying/clustering containers or could it be a mix of both from a redundancy perspective?
 
Author
Posts: 64
10
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A FAQ is how do Kubernetes and Docker Swarm compare.

A post by brendan, a lead engineer on Kubernetes, on Stackflow would be
relevant.
http://stackoverflow.com/questions/27640633/docker-swarm-kubernetes-mesos-core-os-fleet

For performance comparison refer
https://blog.docker.com/2016/03/swarmweek-docker-swarm-exceeds-kubernetes-scale/

For comparison of features refer
http://containerjournal.com/2016/04/07/kubernetes-vs-swarm-container-orchestrator-best/
 
Deepak Vohra
Author
Posts: 64
10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the April 2016 survey:
What container and PaaS tools are used to manage OpenStack applications?

Kubernetes is ranked 1st. Swarm is 6th.
http://www.openstack.org/assets/survey/April-2016-User-Survey-Report.pdf
 
Sai Hegde
security forum advocate
Posts: 232
1
Android Flex Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for all the resources.

So in summary, there is a lot of mixed opinions based on where that information is coming from.
 
Deepak Vohra
Author
Posts: 64
10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Having used both Swarm and Kubernetes, Docker Swarm is a cluster manager for Docker hosts and exposes a pool of hosts (nodes) as a single “virtual” host. These nodes are not to be accessed directly. The swarm cluster may be accessed via a single Swarm Manager on the <swarm_ip:swarm_port>.

In contrast a Kubernetes cluster exposes multiple endpoints for the multiple Pods in the cluster, which could be running on a single or multiple nodes. Multiple endpoints could be accessed by multiple clients.

Which to use, Swarm or Kubernetes depends on the use case. If a multinode cluster is to be managed as a single node use Swarm. If a single/multi node cluster of Docker containers/Pods being accessed by multiple clients is to managed, use Kubernetes.
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic