-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
title: Tổng quan k8s | ||
author: longpt | ||
date: 2024-02-18 20:52:00 +0700 | ||
categories: [Blogging] | ||
tags: [k8s] | ||
math: true | ||
mermaid: true | ||
image: | ||
src: https://longpt233.github.io/images/2024-02-22%2021-44-01.png | ||
--- | ||
|
||
Một số tìm hiểu ban đầu về k8s. | ||
|
||
1. Mối liên hệ giữa containerd và docker | ||
- k8s đang | ||
|
||
```mermaid | ||
graph TD; | ||
A[Docker CLI]-->|docker run ...|B[Docker Engine]; | ||
B[Docker Daemon]; | ||
B -->C[Containerd]; | ||
C --> D[Open Container Initiative OCI. 2015 by Docker]; | ||
D --> |Implement|E[runc Golang]; | ||
D --> |Implement|CR[crun C]; | ||
D --> |Implement|FC[firecracker-containerd AWS Lambda]; | ||
E --> CO[container] | ||
CR --> CO[container] | ||
FC --> CO[container] | ||
F[Kubernetes] --> G[Container Runtime Interface CRI - K8s API]; | ||
G-->|dockershim. 1.24 k8s remove|B | ||
G -->|Implement| C[Containerd from Docker]; | ||
G --->|Implement| H[CRI-O from Red Hat - OpenShift, IBM..]; | ||
H --> D | ||
subgraph Docker | ||
A | ||
B | ||
end | ||
subgraph High Level Runtime: pull image. network. storage | ||
C | ||
H | ||
end | ||
subgraph Low Level Runtime | ||
E | ||
CR | ||
FC | ||
end | ||
subgraph Kubernetes | ||
F | ||
G | ||
end | ||
``` |