Skip to content

Commit 2930a57

Browse files
authored
Merge pull request #20032 from prasadkatti/patch-6
Move the Job controller example
2 parents 68c1819 + e871972 commit 2930a57

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

content/en/docs/concepts/architecture/controller.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,15 @@ useful changes, it doesn't matter if the overall state is or is not stable.
113113
As a tenet of its design, Kubernetes uses lots of controllers that each manage
114114
a particular aspect of cluster state. Most commonly, a particular control loop
115115
(controller) uses one kind of resource as its desired state, and has a different
116-
kind of resource that it manages to make that desired state happen.
116+
kind of resource that it manages to make that desired state happen. For example,
117+
a controller for Jobs tracks Job objects (to discover new work) and Pod objects
118+
(to run the Jobs, and then to see when the work is finished). In this case
119+
something else creates the Jobs, whereas the Job controller creates Pods.
117120

118121
It's useful to have simple controllers rather than one, monolithic set of control
119122
loops that are interlinked. Controllers can fail, so Kubernetes is designed to
120123
allow for that.
121124

122-
For example: a controller for Jobs tracks Job objects (to discover
123-
new work) and Pod object (to run the Jobs, and then to see when the work is
124-
finished). In this case something else creates the Jobs, whereas the Job
125-
controller creates Pods.
126-
127125
{{< note >}}
128126
There can be several controllers that create or update the same kind of object.
129127
Behind the scenes, Kubernetes controllers make sure that they only pay attention

0 commit comments

Comments
 (0)