Kubernetes與Docker Swarm的區別

Features 特性

Kubernetes

Docker Swarm

Installation & ClusterConfiguration

安裝和集羣配置

Installation is complicated;but once setup, the cluster is very strong

安裝很複雜;但是一旦安裝完畢,集羣就非常強大

Installation is very simple;but cluster is not very strong

安裝非常簡單;但是集羣不是很強大

GUI

圖形用戶界面

GUl is the Kubernetes bashboard

There is no GUI

Scalability

可伸縮性

Highly scalable & scales fast

高可伸縮性和快速擴展

Highly scalable & scales 5x faster than Kubernetes

高度可伸縮&比Kubernetes快5倍

Auto-Scaling 

自動伸縮

 

Kubernetes can do autoscaling 

Kubernetes可以進行自動縮放

Docker Swarm cannot do auto-scaling

Docker Swarm不能自動縮放

Load Balancing

負載均衡

Manual intervention needed for load balancing traffic between different containers in different Pods

爲了在不同的Pods中的不同容器之間平衡負載流量,需要手動干預

 

Docker Swarm does auto load balancing of traffice between containers in the cluster

 

Docker Swarm可以自動平衡集羣中容器之間的流量

Rolling Updates &Rollbacks

滾動更新回滾

Can deploy Rolling updates

可以部署滾動更新

Can deploy Rolling updates, but not automatic Rollbacks

可以部署滾動更新,但不能自動回滾

 

Data Volumes

數據量

Can share storage volumes.only with other containers in same Pod

可以共享存儲卷。只能與其他集裝箱在同一Pod

Can share storage volumes with any other container

可以與任何其他容器共享存儲卷。

 

Logging & Monitoring

日誌記錄和監控

In-built tools for logging & monitoring

內置的日誌和監控工具

3rd party tools like ELK should be use for logging & monitoring

應該使用像ELK這樣的第三方工具進行日誌記錄和監控

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章