|
| 1 | +--- |
| 2 | +title: 资源(基础设施) |
| 3 | +id: infrastructure-resource |
| 4 | +date: 2025-02-09 |
| 5 | +short_description: > |
| 6 | + 数量确定的可供使用的基础设施(CPU、内存等)。 |
| 7 | +
|
| 8 | +aka: |
| 9 | +tags: |
| 10 | +- architecture |
| 11 | +--- |
| 12 | +<!-- |
| 13 | +title: Resource (infrastructure) |
| 14 | +id: infrastructure-resource |
| 15 | +date: 2025-02-09 |
| 16 | +short_description: > |
| 17 | + A defined amount of infrastructure available for consumption (CPU, memory, etc). |
| 18 | +
|
| 19 | +aka: |
| 20 | +tags: |
| 21 | +- architecture |
| 22 | +--> |
| 23 | + |
| 24 | +<!-- |
| 25 | +Capabilities provided to one or more {{< glossary_tooltip text="nodes" term_id="node" >}} (CPU, memory, GPUs, etc), and made available for consumption by |
| 26 | +{{< glossary_tooltip text="Pods" term_id="pod" >}} running on those nodes. |
| 27 | +
|
| 28 | +Kubernetes also uses the term _resource_ to describe an {{< glossary_tooltip text="API resource" term_id="api-resource" >}}. |
| 29 | +--> |
| 30 | +提供给一个或多个{{< glossary_tooltip text="节点" term_id="node" >}}的能力(CPU、内存、GPU 等), |
| 31 | +这些能力可以供这些节点上运行的 {{< glossary_tooltip text="Pod" term_id="pod" >}} 使用。 |
| 32 | + |
| 33 | +Kubernetes 也使用**资源**这个术语来描述 {{< glossary_tooltip text="API 资源" term_id="api-resource" >}}。 |
| 34 | + |
| 35 | +<!--more--> |
| 36 | + |
| 37 | +<!-- |
| 38 | +Computers provide fundamental hardware facilities: processing power, storage memory, network, etc. |
| 39 | +These resources have finite capacity, measured in a unit applicable to that resource (number of CPUs, bytes of memory, etc). |
| 40 | +Kubernetes abstracts common [resources](/docs/concepts/configuration/manage-resources-containers/) |
| 41 | +for allocation to workloads and utilizes operating system primitives (for example, Linux {{< glossary_tooltip text="cgroups" term_id="cgroup" >}}) to manage consumption by {{< glossary_tooltip text="workloads" term_id="workload" >}}). |
| 42 | +--> |
| 43 | +计算机提供基础硬件设施:处理能力、存储内存、网络等。 |
| 44 | +这些资源的容量有限,每个资源具有合适的测量单位(CPU 个数、内存字节数等)。 |
| 45 | +Kubernetes 抽象出常见的[资源](/zh-cn/docs/concepts/configuration/manage-resources-containers/)分配给工作负载, |
| 46 | +并利用操作系统的原语(例如 Linux {{< glossary_tooltip text="cgroup" term_id="cgroup" >}}) |
| 47 | +来管理{{< glossary_tooltip text="工作负载" term_id="workload" >}}的使用。 |
| 48 | + |
| 49 | +<!-- |
| 50 | +You can also use [dynamic resource allocation](/docs/concepts/scheduling-eviction/dynamic-resource-allocation/) to |
| 51 | +manage complex resource allocations automatically. |
| 52 | +--> |
| 53 | +你也可以使用[动态资源分配](/zh-cn/docs/concepts/scheduling-eviction/dynamic-resource-allocation/)来自动管理复杂的资源分配。 |
0 commit comments