You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/blog/_posts/2017-11-00-Containerd-Container-Runtime-Options-Kubernetes.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,13 +56,13 @@ Cri-containerd uses containerd to manage the full container lifecycle and all co
56
56
57
57
Let’s use an example to demonstrate how cri-containerd works for the case when Kubelet creates a single-container pod:
58
58
59
-
1.1.Kubelet calls cri-containerd, via the CRI runtime service API, to create a pod;
60
-
2.2.cri-containerd uses containerd to create and start a special [pause container](https://www.ianlewis.org/en/almighty-pause-container) (the _sandbox container_) and put that container inside the pod’s cgroups and namespace (steps omitted for brevity);
61
-
3.3.cri-containerd configures the pod’s network namespace using CNI;
62
-
4.4.Kubelet subsequently calls cri-containerd, via the CRI image service API, to pull the application container image;
63
-
5.5.cri-containerd further uses containerd to pull the image if the image is not present on the node;
64
-
6.6.Kubelet then calls cri-containerd, via the CRI runtime service API, to create and start the application container inside the pod using the pulled container image;
65
-
7.7.cri-containerd finally calls containerd to create the application container, put it inside the pod’s cgroups and namespace, then to start the pod’s new application container.
59
+
1. Kubelet calls cri-containerd, via the CRI runtime service API, to create a pod;
60
+
2. cri-containerd uses containerd to create and start a special [pause container](https://www.ianlewis.org/en/almighty-pause-container) (the _sandbox container_) and put that container inside the pod’s cgroups and namespace (steps omitted for brevity);
61
+
3. cri-containerd configures the pod’s network namespace using CNI;
62
+
4. Kubelet subsequently calls cri-containerd, via the CRI image service API, to pull the application container image;
63
+
5. cri-containerd further uses containerd to pull the image if the image is not present on the node;
64
+
6. Kubelet then calls cri-containerd, via the CRI runtime service API, to create and start the application container inside the pod using the pulled container image;
65
+
7. cri-containerd finally calls containerd to create the application container, put it inside the pod’s cgroups and namespace, then to start the pod’s new application container.
66
66
After these steps, a pod and its corresponding application container is created and running.
0 commit comments