website/content/zh/docs/reference/glossary/app-container.md

47 lines
1.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 应用程序容器App Container
id: app-container
date: 2019-02-12
full_link:
short_description: >
用于运行部分工作负载的容器。与初始化容器比较而言。
aka:
tags:
- workload
---
<!--
---
title: App Container
id: app-container
date: 2019-02-12
full_link:
short_description: >
A container used to run part of a workload. Compare with init container.
aka:
tags:
- workload
---
-->
<!--
Application containers (or app containers) are the {{< glossary_tooltip text="containers" term_id="container" >}} in a {{< glossary_tooltip text="pod" term_id="pod" >}} that are started after any {{< glossary_tooltip text="init containers" term_id="init-container" >}} have completed.
-->
应用程序 {{< glossary_tooltip text="容器" term_id="container" >}} (或 app 容器)在 {{< glossary_tooltip text="pod" term_id="pod" >}} 中,在 {{< glossary_tooltip text="初始化容器" term_id="init-container" >}} 启动完毕后才开始启动。
<!--more-->
<!--
An init container lets you separate initialization details that are important for the overall
{{< glossary_tooltip text="workload" term_id="workload" >}}, and that don't need to keep running
once the application container has started.
If a pod doesn't have any init containers configured, all the containers in that pod are app containers.
-->
初始化容器使您可以分离对于{{< glossary_tooltip text="工作负载" term_id="workload" >}}
整体而言很重要的初始化细节,并且一旦应用容器启动,它不需要继续运行。
如果 pod 没有配置任何初始化容器,则该 pod 中的所有容器都是应用程序容器。