Kubernetes¶
K8s¶
Kubernetes is the operation system for containers. It is open source and stems from Google Borg.
Key features:
- Declarative model (vs Imperative).
- Automated Rollouts and Rollbacks.
- Service Discovery and Load Balancing.
- Auto Horizontal Scaling.
- Resilience and Self-healing.
- Storage Orchestration.
- Good Supporting Microservices Architecture.
Architecture¶
Kubernetes On EC2¶
Deploy Kubernetes on Virtual Machines (e.g. EC2) rather than using managed Container Platform (e.g. EKS, ECS, EKS, etc.)
Pros:
- High Flexibility
- Custom Configurations
- Extensibility (Plugin)
- Portable (easy to On-Premise, anther cloud provider)
Cons:
- high Complexity
- much operational cost