rm mentioned generator from kubectl run

This commit is contained in:
Marcin Niemira
2020-04-21 19:08:05 +10:00
parent df2204ffd0
commit b09893bbcc
@@ -17,7 +17,6 @@ For a stable output in a script:
* Request one of the machine-oriented output forms, such as `-o name`, `-o json`, `-o yaml`, `-o go-template`, or `-o jsonpath`.
* Fully-qualify the version. For example, `jobs.v1.batch/myjob`. This will ensure that kubectl does not use its default version that can change over time.
* Specify the `--generator` flag to pin to a specific behavior when you use generator-based commands such as `kubectl run` or `kubectl expose`.
* Don't rely on context, preferences, or other implicit states.
## Best Practices