Aside from the required parts, the following is a list of fields that should be included in any deployment manifest. Followed by a layout of a deployment file
-
name
- Make your name something that is easy to Identify what it is. you don’t need to include version information here as that will be elsewhere -
namespace
- Specify a namespace, think of this as the default location you plan to deploy something to. This can always be overridden withkubectl -n <namespace>
at a later time.