Skip to content

Commit

Permalink
Update concepts.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xzmeng committed Sep 20, 2023
1 parent 148f9f9 commit 47abc02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/zh/docs/deployment/concepts.md
Expand Up @@ -155,6 +155,7 @@
但在那些严重错误导致正在运行的**进程**崩溃的情况下,您需要一个外部组件来负责**重新启动**进程,至少尝试几次......

!!! tip

...尽管如果整个应用程序只是**立即崩溃**,那么永远重新启动它可能没有意义。 但在这些情况下,您可能会在开发过程中注意到它,或者至少在部署后立即注意到它。

因此,让我们关注主要情况,在**未来**的某些特定情况下,它可能会完全崩溃,但重新启动它仍然有意义。
Expand Down Expand Up @@ -245,6 +246,7 @@


!!! tip

如果这些关于 **容器**、Docker 或 Kubernetes 的内容还没有多大意义,请不要担心。

我将在以后的章节中向您详细介绍容器镜像、Docker、Kubernetes 等:[容器中的 FastAPI - Docker](./docker.md){.internal-link target=_blank}。
Expand All @@ -264,6 +266,7 @@
当然,也有一些情况,多次运行前面的步骤也没有问题,这样的话就好办多了。

!!! tip

另外,请记住,根据您的设置,在某些情况下,您在开始应用程序之前**可能甚至不需要任何先前的步骤**。

在这种情况下,您就不必担心这些。 🤷
Expand All @@ -280,6 +283,7 @@
* 您仍然需要一种方法来启动/重新启动 bash 脚本、检测错误等。

!!! tip

我将在以后的章节中为您提供使用容器执行此操作的更具体示例:[容器中的 FastAPI - Docker](./docker.md){.internal-link target=_blank}。

## 资源利用率
Expand Down

0 comments on commit 47abc02

Please sign in to comment.