Apply suggestions from code review

Co-authored-by: Qiming Teng <tengqm@outlook.com>
pull/47770/head
Joe Betz 2024-09-26 01:08:43 +00:00 committed by GitHub
parent 9eb3006897
commit a44421f26a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ of the same resource. API resources are distinguished by their API group, resour
In cases when objects represent a physical entity, like a Node representing a physical host, when the host is re-created under the same name without deleting and re-creating the Node, Kubernetes treats the new host as the old one, which may lead to inconsistencies.
{{< /note >}}
The server may generate a name when `generateName` is provided in a resource create request instead of `name`.
The server may generate a name when `generateName` is provided instead of `name` in a resource create request.
When `generateName` is used, the provided value is used as a name prefix, which server appends a generated suffix
to. Even though the name is generated, it may conflict with existing names resulting in a HTTP 409 resopnse. This
became far less likely to happen in Kubernetes v1.31 and later, since the server will make up to 8 attempt to generate a