Skip to content

Commit 62ffe74

Browse files
authored
Merge pull request #33678 from my-git9/mygit1
[zh] update 2020-12-02-dont-panic-kubernetes-and-docker.md
2 parents cffd5ab + 932b368 commit 62ffe74

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

content/zh/blog/_posts/2020-12-02-dont-panic-kubernetes-and-docker.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,26 @@ layout: blog
33
title: "别慌: Kubernetes 和 Docker"
44
date: 2020-12-02
55
slug: dont-panic-kubernetes-and-docker
6+
evergreen: true
67
---
78
<!--
89
layout: blog
910
title: "Don't Panic: Kubernetes and Docker"
1011
date: 2020-12-02
1112
slug: dont-panic-kubernetes-and-docker
13+
evergreen: true
1214
-->
1315

1416
**作者:** Jorge Castro, Duffie Cooley, Kat Cosgrove, Justin Garrison, Noah Kantrowitz, Bob Killen, Rey Lejano, Dan “POP” Papandrea, Jeffrey Sica, Davanum “Dims” Srinivas
1517

1618
<!--
17-
_Update: Kubernetes support for Docker via `dockershim` is now deprecated.
18-
For more information, read the [deprecation notice](/blog/2020/12/08/kubernetes-1-20-release-announcement/#dockershim-deprecation).
19+
**Update:** _Kubernetes support for Docker via `dockershim` is now removed.
20+
For more information, read the [removal FAQ](/dockershim).
1921
You can also discuss the deprecation via a dedicated [GitHub issue](https://github.com/kubernetes/kubernetes/issues/106917)._
2022
-->
21-
_更新:Kubernetes 通过 `dockershim` 对 Docker 的支持现已弃用
22-
有关更多信息,请阅读[弃用通知](/zh/blog/2020/12/08/kubernetes-1-20-release-announcement/#dockershim-deprecation)
23-
你还可以通过专门的 [GitHub issue](https://github.com/kubernetes/kubernetes/issues/106917) 讨论弃用。_
23+
**更新**:Kubernetes 通过 `dockershim` 对 Docker 的支持现已移除
24+
有关更多信息,请阅读[移除 FAQ](/zh/dockershim)
25+
你还可以通过专门的 [GitHub issue](https://github.com/kubernetes/kubernetes/issues/106917) 讨论弃用。
2426

2527
<!--
2628
Kubernetes is [deprecating
@@ -58,32 +60,31 @@ build` can still run in your Kubernetes cluster.
5860
Docker 仍然是构建容器的利器,使用命令 `docker build` 构建的镜像在 Kubernetes 集群中仍然可以运行。
5961

6062
<!--
61-
If you’re using a managed Kubernetes service like GKE, EKS, or AKS (which [defaults to containerd](https://github.com/Azure/AKS/releases/tag/2020-11-16)) you will need to
63+
If you’re using a managed Kubernetes service like AKS, EkS or GKE, you will need to
6264
make sure your worker nodes are using a supported container runtime before
6365
Docker support is removed in a future version of Kubernetes. If you have node
6466
customizations you may need to update them based on your environment and runtime
6567
requirements. Please work with your service provider to ensure proper upgrade
6668
testing and planning.
6769
-->
68-
如果你正在使用 GKE、EKS、或 AKS
69-
([默认使用 containerd](https://github.com/Azure/AKS/releases/tag/2020-11-16))
70-
这类托管 Kubernetes 服务,你需要在 Kubernetes 后续版本移除对 Docker 支持之前,
70+
如果你正在使用 GKE、EKS、或 AKS 这类托管 Kubernetes 服务,
71+
你需要在 Kubernetes 后续版本移除对 Docker 支持之前,
7172
确认工作节点使用了被支持的容器运行时。
7273
如果你的节点被定制过,你可能需要根据你自己的环境和运行时需求更新它们。
7374
请与你的服务供应商协作,确保做出适当的升级测试和计划。
7475

7576
<!--
7677
If you’re rolling your own clusters, you will also need to make changes to avoid
7778
your clusters breaking. At v1.20, you will get a deprecation warning for Docker.
78-
When Docker runtime support is removed in a future release (currently planned
79-
for the 1.22 release in late 2021) of Kubernetes it will no longer be supported
79+
When Docker runtime support is removed in a future release (<del>currently planned
80+
for the 1.22 release in late 2021</del>) of Kubernetes it will no longer be supported
8081
and you will need to switch to one of the other compliant container runtimes,
8182
like containerd or CRI-O. Just make sure that the runtime you choose supports
8283
the docker daemon configurations you currently use (e.g. logging).
8384
-->
8485
如果你正在运营你自己的集群,那还应该做些工作,以避免集群中断。
8586
在 v1.20 版中,你仅会得到一个 Docker 的弃用警告。
86-
当对 Docker 运行时的支持在 Kubernetes 某个后续发行版(目前的计划是 2021 年晚些时候的 1.22 版)中被移除时,
87+
当对 Docker 运行时的支持在 Kubernetes 某个后续发行版(<del>目前的计划是 2021 年晚些时候的 1.22 版</del>)中被移除时,
8788
你需要切换到 containerd 或 CRI-O 等兼容的容器运行时。
8889
只要确保你选择的运行时支持你当前使用的 Docker 守护进程配置(例如 logging)。
8990

0 commit comments

Comments
 (0)