File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -304,6 +304,20 @@ those pods.
304
304
To learn more about this issue, see
305
305
`Kubernetes Issue 67250 <https://github.com/kubernetes/kubernetes/issues/67250>`__.
306
306
307
+ .. _replace-config-file:
308
+
309
+ Force Replace a Config File to Reflect Changes
310
+ ----------------------------------------------
311
+
312
+ Invoke the following command to replace a config file:
313
+
314
+ .. code-block:: shell
315
+
316
+ kubectl replace -f <configfilename>.yaml
317
+
318
+ This deletes and re-creates the resource. It is useful in cases where you need to update resource fields that cannot be updated once
319
+ initialized, or you just want to propagate changes made in the configMap to other config files.
320
+
307
321
.. _remove-k8s-resource:
308
322
309
323
Remove a |k8s-mdbrsc|
You can’t perform that action at this time.
0 commit comments