Skip to main content

kosko migrate

Migrate Kubernetes YAML into Kosko components.

kosko migrate

Options​

--filename, -f​

File, directory or stdin to migrate.

# Read from a file or a directory
kosko migrate -f path/to/file

# Read from stdin
kosko migrate -f -

Examples​

kosko migrate -f nginx.yml > components/nginx.js