Note when PUT can create items

See https://github.com/kubernetes/community/issues/6041#issuecomment-1021176213
This commit is contained in:
Elana Hashman 2022-01-25 11:44:36 -08:00 committed by GitHub
parent f3c26b2e35
commit f8148d406c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -645,7 +645,10 @@ overrides a default grace period, including the zero grace period ("now").
* DELETE /<resourceNamePlural> - Deletes a list of type
<resourceName>, e.g. DELETE /pods a list of Pods.
* PUT /<resourceNamePlural>/<name> - Update or create the resource
with the given name with the JSON object provided by the client.
with the given name with the JSON object provided by the client. Whether a
resource can be created with a PUT request depends on the particular resource's
storage strategy configuration, specifically the `AllowCreateOnUpdate()` return
value. Most built-in types do not allow this.
* PATCH /<resourceNamePlural>/<name> - Selectively modify the
specified fields of the resource. See more information [below](#patch-operations).
* GET /<resourceNamePlural>?watch=true - Receive a stream of JSON