@@ -48,6 +48,7 @@ prevent new jobs from opening by using the
48
48
--------------------------------------------------
49
49
POST _ml/set_upgrade_mode?enabled=true
50
50
--------------------------------------------------
51
+ // TEST
51
52
+
52
53
When you disable upgrade mode, the jobs resume using the last model state that
53
54
was automatically saved. This option avoids the overhead of managing active jobs
@@ -88,6 +89,7 @@ GET _cat/health
88
89
89
90
GET _cat/nodes
90
91
--------------------------------------------------
92
+ // TEST[continued]
91
93
92
94
The `status` column returned by `_cat/health` shows the health of each node
93
95
in the cluster: `red`, `yellow`, or `green`.
@@ -124,6 +126,7 @@ PUT _cluster/settings
124
126
}
125
127
}
126
128
------------------------------------------------------
129
+ // TEST[continued]
127
130
128
131
Once allocation is re-enabled, the cluster starts allocating replica shards to
129
132
the data nodes. At this point it is safe to resume indexing and searching,
@@ -140,6 +143,7 @@ GET _cat/health
140
143
141
144
GET _cat/recovery
142
145
--------------------------------------------------
146
+ // TEST[continued]
143
147
--
144
148
// tag::restart_ml[]
145
149
. *Restart machine learning jobs.* (Optional)
@@ -152,6 +156,7 @@ If you temporarily halted the tasks associated with your {ml} jobs, use the
152
156
--------------------------------------------------
153
157
POST _ml/set_upgrade_mode?enabled=false
154
158
--------------------------------------------------
159
+ // TEST[continued]
155
160
156
161
If you closed all {ml} jobs before stopping the nodes, open the jobs and start
157
162
the datafeeds from {kib} or with the <<ml-open-job,open jobs>> and
@@ -197,6 +202,7 @@ by submitting a `_cat/nodes` request:
197
202
--------------------------------------------------
198
203
GET _cat/nodes
199
204
--------------------------------------------------
205
+ // TEST[continued]
200
206
--
201
207
202
208
. *Reenable shard allocation.*
@@ -215,6 +221,7 @@ PUT _cluster/settings
215
221
}
216
222
}
217
223
--------------------------------------------------
224
+ // TEST[continued]
218
225
--
219
226
220
227
. *Repeat in case of rolling restart.*
0 commit comments