giả lập cluster : minikube → kubectl → lens (UI hoá)

Custom Kubernetes với Kustomize

Kubernetes (k8s) là một hệ thống mã nguồn mở để tự động triển khai, mở rộng và quản lý các container. Dưới đây là các khái niệm cơ bản về Kubernetes mà bạn nên biết:

Untitled

Cluster -> Node (Master/Control Plane + Worker Nodes) -> Pod -> Container

  1. Cluster: Toàn bộ hệ thống Kubernetes.
  2. Node: Máy vật lý hoặc máy ảo trong cluster.
  3. Pod: Đơn vị nhỏ nhất có thể được triển khai, chạy trên Worker Nodes.
  4. Container: Nơi ứng dụng thực sự chạy, nằm trong Pod.

Cluster -> Control Plane (API Server, Scheduler, Controller Manager, etcd) -> Worker Nodes -> Kubelet -> Pod (Labels, Annotations) -> Container (Image, Resources) -> Application

Dòng này bao gồm:

  1. Cluster: Toàn bộ hệ thống Kubernetes
  2. Control Plane: Bộ não của cluster
  3. Worker Nodes: Nơi chạy các ứng dụng
  4. Kubelet: Agent chạy trên mỗi node, quản lý các pod
  5. Pod: Đơn vị triển khai nhỏ nhất
  6. Container: Môi trường chạy ứng dụng
  7. Application: Ứng dụng thực tế chạy trong container