Now that we have learned a lot of details about the most important resources in Kubernetes, it is helpful to compare the two orchestrators, SwarmKit and Kubernetes, by matching the important resources. Here is the table:
SwarmKit | Kubernetes | Description |
Swarm | Cluster | Set of servers/nodes managed by the respective orchestrator. |
Node | Cluster member | Single host (physical or virtual) which is a member of the swarm/cluster. |
Manager node | Master | Node managing the swarm/cluster. This is the control plane. |
Worker node | Node | Member of the swarm/cluster running application workload. |
Container | Container** | Instance of a container image running on a node. In a Kubernetes cluster, we cannot run a container. |
Task | Pod | Instance of a service (swarm) or ReplicaSet (Kubernetes) running on a node. A task manages a single container while a Pod contains one to many containers that are all sharing the same network namespace. |
Service | ReplicaSet | Defines and reconciles the desired state of an application service... |