a7b121f345
* zh-trans: add docs/concepts/overview/working-with-objects/names.md * update names.md
1.7 KiB
1.7 KiB
title, content_template, weight
| title | content_template | weight |
|---|---|---|
| 名称 | templates/concept | 20 |
{{% capture overview %}}
Kubernetes REST API 中的所有对象都通过名称和 UID 明确标识。
对于用户提供的非惟一属性,Kubernetes 提供 标签 和 注解。
查看 标识设计文档 获取名称和 UID 的精确语法规则。
{{% /capture %}}
{{% capture body %}}
名称
{{< glossary_definition term_id="name" length="all" >}}
按照惯例,Kubernetes 资源的名称最长可达 253 个字符,并由小写字母、数字、 “-” 和 “.” 组成,但某些资源可能有更具体的限制。
UID
{{< glossary_definition term_id="uid" length="all" >}}
{{% /capture %}}