mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #4495 from yujuhong/api_docs
Add a brief description on how we handle defaults
This commit is contained in:
commit
cf6e990723
@ -137,6 +137,18 @@ All compatible Kubernetes APIs MUST support "name idempotency" and respond with
|
||||
|
||||
TODO: name generation
|
||||
|
||||
Defaulting
|
||||
----------
|
||||
|
||||
Default resource values are API version-specific, and they are applied during
|
||||
the conversion from API-versioned declarative configuration to internal objects
|
||||
representing the desired state (`Spec`) of the resource.
|
||||
|
||||
Incorporating the default values into the `Spec` ensures that `Spec` depicts the
|
||||
full desired state so that it is easier for the system to determine how to
|
||||
achieve the state, and for the user to know what to anticipate.
|
||||
|
||||
|
||||
Concurrency Control and Consistency
|
||||
-----------------------------------
|
||||
<a name="#concurrency"></a>
|
||||
|
Loading…
Reference in New Issue
Block a user