Docker Swarm, Kubernetes, Consul

Docker Swarm + Consul によるコンテナマネージメント(スケーラビリティとロードバランサー)

Swarm mode overview

Consul : Open Source Software

Docker Consul

Docker Swarm vs. Kubernetes: A Comparison

K8s and Docker Swarm have many of the same features, but each tool shines in different aspects. The table below offers a head-to-head Kubernetes vs Docker Swarm comparison:

Point of comparison Kubernetes Docker Swarm
Main selling point A complete container orchestration solution with advanced automation features and high customization An emphasis on ease of use and a seamless fit with other Docker products
Installation Somewhat complex as you need to install (and learn to use) kubectl Quick and easy setup (if you already run Docker)
Learning curve High learning curve (but has more features) Lightweight and easy to use (but limited functionality)
GUI Detailed native dashboards No out-of-the-box dashboards (but you can integrate a third-party tool)
Cluster setup Difficult to start a cluster (but the cluster is very strong once set up) Easy to start a cluster
Availability features Self-healing, intelligent scheduling, and replication features Availability controls and service duplication
Scalability All-in-one scaling based on traffic Values scaling quickly (approx. 5x faster than K8s) over scaling automatically
Horizontal auto-scaling Yes No
Monitoring capabilities Has built-in monitoring and logging Basic server log and event tools, but needs a third-party tool for advanced monitoring
Load balancing No built-in mechanism for auto load-balancing Internal load balancing
Security features Relies on transport layer security (TLS) and access control-related tasks Supports multiple security protocols (RBAC authorization, TLS/SSL, secrets management, policies, etc.)
CLI Needs a separate CLI Integrated Docker CLI, which can limit the functionality in some use cases
Community Huge and active community Reasonably popular, but the user base is getting smaller since the Mirantis acquisition
Optimal use case High-demand apps with a complex configuration Simple apps that are quick to deploy and easy to manage

Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]


Kubernetes 導入のメリットとして、クライアントの需要に応じたシステムの伸縮性やロードバランサーとしての機能、システム更新時や停止した際のレプリカによる補助機能などが挙げられます。

minikube はローカルマシン上で上記の kubernetes によるクラスターの配置・操作ができるアプリケーションです。