You can create objects with Kubectl as well as applying them with YAML. The command follows the same syntax as get
and describe
, passing the type of object you want to use.
And you can always add --help
to the end of the command to get detailed help. That should guide you through here.
Need more? Here’s the solution.