Load YAML Files
This feature works better with nested manifests, which is available with v1.0.0 and above.
This is the easiest way to import your existing Kubernetes YAML files. It's recommended to try this first if you don't need to manipulate YAML files. All manifests except custom resource definitions (CRD) are created with kubernetes-models, so they are validated against Kubernetes OpenAPI schema.
Load from a File
Load from a URL
You can customize headers or method in options. See node-fetch for more information about available options.
Load from a String
Register custom resource definitions (CRD) with
By default, all manifests except custom resource definitions (CRD) are created with kubernetes-models. If you don't want to validate them for some reasons, you can transform them into plain objects, or override the
Migrate YAML Files
See commands for more information about available options.