Skip to content

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

K8s Architecture

Kubernetes On EC2

Kubernetes On AWS EC2 Instances

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