rm --record from kubectl conventions

This commit is contained in:
Marcin Niemira 2020-04-06 00:02:34 +10:00
parent f7bd5fab1a
commit 2d3d7b9162
No known key found for this signature in database
GPG Key ID: 053E25BDC33ED6A3
1 changed files with 0 additions and 1 deletions

View File

@ -27,7 +27,6 @@ For a stable output in a script:
For `kubectl run` to satisfy infrastructure as code:
* Tag the image with a version-specific tag and don't move that tag to a new version. For example, use `:v1234`, `v1.2.3`, `r03062016-1-4`, rather than `:latest` (For more information, see [Best Practices for Configuration](/docs/concepts/configuration/overview/#container-images)).
* Capture the parameters in a checked-in script, or at least use `--record` to annotate the created objects with the command line for an image that is lightly parameterized.
* Check in the script for an image that is heavily parameterized.
* Switch to configuration files checked into source control for features that are needed, but not expressible via `kubectl run` flags.