You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<1> Specify the name of the master machine for the unhealthy node.
185
185
186
-
.. Edit the `new-master-machine.yaml` file that was created in the previous step.
186
+
.. Edit the `new-master-machine.yaml` file that was created in the previous step to assign a new name and remove unnecessary fields.
187
187
188
188
... Remove the entire `status` section:
189
189
+
@@ -217,14 +217,7 @@ status:
217
217
kind: AWSMachineProviderStatus
218
218
----
219
219
220
-
... Remove the `providerID` field:
221
-
+
222
-
[source,yaml]
223
-
----
224
-
providerID: aws:///us-east-1a/i-0fdb85790d76d0c3f
225
-
----
226
-
227
-
... Change the `name` field to a new name.
220
+
... Change the `metadata.name` field to a new name.
228
221
+
229
222
It is recommended to keep the same base name as the old machine and change the ending number to the next available number. In this example, `clustername-8qw5l-master-0` is changed to `clustername-8qw5l-master-3`.
230
223
+
@@ -240,7 +233,7 @@ metadata:
240
233
...
241
234
----
242
235
243
-
... Update the `selfLink` field to use the new machine name from the previous step.
236
+
... Update the `metadata.selfLink` field to use the new machine name from the previous step.
244
237
+
245
238
[source,yaml]
246
239
----
@@ -252,6 +245,31 @@ metadata:
252
245
...
253
246
----
254
247
248
+
... Remove the `spec.providerID` field:
249
+
+
250
+
[source,yaml]
251
+
----
252
+
providerID: aws:///us-east-1a/i-0fdb85790d76d0c3f
253
+
----
254
+
255
+
... Remove the `metadata.annotations` and `metadata.generation` fields:
256
+
+
257
+
[source,yaml]
258
+
----
259
+
annotations:
260
+
machine.openshift.io/instance-state: running
261
+
...
262
+
generation: 2
263
+
----
264
+
265
+
... Remove the `metadata.resourceVersion` and `metadata.uid` fields:
0 commit comments