DZone
Cloud Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Cloud Zone > Kubernetes vs. Docker Swarm and the Google Cloud Platform

Kubernetes vs. Docker Swarm and the Google Cloud Platform

Follow the logic as Naveen Balani points out why he prefers Kubernetes to Docker Swarm when working in production environments.

Navveen Balani user avatar by
Navveen Balani
·
Jul. 26, 16 · Cloud Zone · Opinion
Like (8)
Save
Tweet
11.38K Views

Join the DZone community and get the full member experience.

Join For Free

Kubernetes is an open-source, production-grade container management system. It helps you effectively manage and scale container applications in a clustered environment.

Kubernetes is (extract from GitHub):

  • Lean: lightweight, simple, accessible.
  • Portable: public, private, hybrid, multi-cloud.
  • Extensible: modular, pluggable, hookable, composable.
  • Self-healing: auto-placement, auto-restart, auto-replication.


While deploying and orchestrating docker containers, you have two choices — Docker Swarm and Kubernetes. Docket Swarm was built specifically for solving Docker orchestration in a standardised way and exposes standard Docker APIs, which can be used for communication with containers. Kubernetes builds upon 15 years of experience of running production workloads at Google and provides first-class support for running Docker containers.

Having tried both Docker Swarm and Kubernetes in production environments, I feel the best way to build and orchestrate Docker containers is through Kubernetes. The horizontal auto-scaling feature and self-discovery via external descriptors make it easier to manage dependencies. Kubernetes has a learning curve, but it provides greater flexibility and features. I also feel the dependency and configuration between containers are easier to maintain using Kubernetes.

One of the key features that was missing in Kubernetes earlier was the ability to manage and run federated services across clusters (geographical distributions workloads). This is an important feature, as we had to manually take care of this via geocentric load balancers. Kubernetes 1.3 (released on July 6) introduced cross-cluster service discovery, stateful workloads for applications, and many more features.

We are running on GCP, and I will post my experience when we move over to Kubernetes 1.3. So far, GCP and Kubernetes have provided us with one of the best options to build and scale container applications in a production environment.

If you are building and orchestrating Docker containers, give Kubernetes a try and you won't be disappointed. Also, do ensure you build services (microservices) the right way and lay out the right set of dependencies to leverage the power and capabilities of container management solutions.

Docker (software) Kubernetes Google (verb) Cloud

Published at DZone with permission of Navveen Balani, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • The Impacts of Blockchain on the Software Development Industry
  • Build a Serverless URL Shortener With Go
  • The Best Solution to Burnout We’ve Ever Heard
  • GraphQL in Enterprise: What It Takes to Build, Deploy, and Monitor a New Enterprise GraphQL Service

Comments

Cloud Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo