How to automatically generate a Manifests file in Kubernetes
If you want to automatically generate a manifest file in Kubernetes, you can do so by using the kubectl run
command coupled with a --dry-run
to output directly to yaml
.
|
|
You can also output this directly to a file on disk as follows:
|
|