Skip to content

Commit

Permalink
Recommend removing extra metadata
Browse files Browse the repository at this point in the history
Add wording that recommends removing extra metadata from machine templates retrieved from a working cluster before re-applying them

Signed-off-by: Scott Lowe <[email protected]>
  • Loading branch information
scottslowe committed May 29, 2020
1 parent 5810f14 commit 276fe9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/book/src/tasks/change-machine-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ The correct process for modifying an infrastructure machine template is as follo
for more details on the specific fields that each provider requires or accepts.
3. Give the newly-modified template a new name by modifying the `metadata.name` field
(or by using `metadata.generateName`).
4. Create the new infrastructure machine template on the API server using `kubectl`.
4. Create the new infrastructure machine template on the API server using `kubectl`.
(If the template was initially created using the command in step 1, be sure to clear
out any extraneous metadata, including the `resourceVersion` field, before trying to
send it to the API server.)

Once the new infrastructure machine template has been persisted, users may modify
the object that was referencing the infrastructure machine template. For example,
Expand Down

0 comments on commit 276fe9f

Please sign in to comment.