M
M
Marat2020-09-01 01:26:05
Docker
Marat, 2020-09-01 01:26:05

What can Kubernetes do that docker swarm can't?

Good afternoon.

Trying to understand the differences between k8s and docker swarm.

I read many different sources (rus, eng), and everywhere they write that k8s is a more powerful tool that:
1. allows you to perform more flexible settings
2. is more reliable and fault-tolerant.

But this is a rather vague description. I could not find specific examples:
1. What exactly can be done in k8s, what cannot be done in swarm? At least a couple of examples.
2. How reliable is k8s? On some specific volumes, or in principle?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Saboteur, 2020-09-01
@MorionSelf

1. What exactly can be done in k8s that cannot be done in swarm? At least a couple of examples.

Yes, almost nothing. Well, maybe autoscaling, but this can also be cycled.
The main difference is that in the cuber almost everything is out of the box, and the swarm has to be cycled.
It's like Kuber and Openshift - Openshift has even more things out of the box.
2. How reliable is k8s? On some specific volumes, or in principle?
It's more convenient, not more reliable. More convenient with its ecosystem, infrastructure. Cloud services, where you can order not virtual machines and deploy Kuber or Swarm on them, but order Kuber as a service right away, and not worry about installing and configuring it.

V
Vasily Shakhunov, 2020-09-01
@inf

it is a more powerful tool that:
1. allows more flexible configuration
2. is more reliable and fault-tolerant.

this is from the series "Armenians are better than Georgians. Than better? Than Georgians"
1. From the essential that I saw, the swarm lacks init containers and cronjob. But the first and second are solvable, and are not the cornerstone of prejudice.
2. Both swarm and kubernetes are compiled binaries on go) Reliability and fault tolerance in this case is achieved by architecture, and not by software quality.
3. Kubernetes is better than swarm at extracting money from customers' wallets for its service. The total cost of ownership will consist of the need to constantly update the kuber and engineer salaries, which, with the line "kubernetes" in the resume, immediately flies into space.

V
Vitaly Karasik, 2020-09-01
@vitaly_il1

Warning, i.e. disclaimer: I have not worked with docker swarm.
IMHO, as in many things in technology (and life), K8S wins because of the ecosystem, that is, the complex of tools, services around it. Managed K8S for all cloud providers, extensible API, many ready-made ingresses, autoscaling, HA, monitoring, ...
Surely you can make a long table "what only K8S can do", but IMHO this is not the main thing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question