Skip to content

Commit b50819e

Browse files
authored
Merge pull request #29349 from jaypipes/controller-dec-api
clarify declarative API in custom controller docs
2 parents 4924944 + 6a4dddd commit b50819e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/concepts/extend-kubernetes/api-extension/custom-resources.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ On their own, custom resources let you store and retrieve structured data.
3535
When you combine a custom resource with a *custom controller*, custom resources
3636
provide a true _declarative API_.
3737

38-
A [declarative API](/docs/concepts/overview/kubernetes-api/)
39-
allows you to _declare_ or specify the desired state of your resource and tries to
40-
keep the current state of Kubernetes objects in sync with the desired state.
41-
The controller interprets the structured data as a record of the user's
42-
desired state, and continually maintains this state.
38+
The Kubernetes [declarative API](/docs/concepts/overview/kubernetes-api/)
39+
enforces a separation of responsibilities. You declare the desired state of
40+
your resource. The Kubernetes controller keeps the current state of Kubernetes
41+
objects in sync with your declared desired state. This is in contrast to an
42+
imperative API, where you *instruct* a server what to do.
4343

4444
You can deploy and update a custom controller on a running cluster, independently
4545
of the cluster's lifecycle. Custom controllers can work with any kind of resource,

0 commit comments

Comments
 (0)