Improve karpenter-convert
input format requirement
#6130
Labels
documentation
Improvements or additions to documentation
karpenter-convert
input format requirement
#6130
Description
How can the docs be improved?
Posting this mostly just to help other people who stumble up against "error: no objects passed to convert" when using
karpenter-convert
:)The
karpenter-convert
tool is great - but from the usage information (and the v1beta1 upgrade docs, it's not clear what the required input format for AWSNodeTemplate and Provisioners should be.I found myself butting up against an error in the tool by trying what I thought made sense while following the docs:
It took a bit of diving through the code to find out that the tool didn't like lists of objects being passed, like
-o yaml
outputs:Instead, the tool wanted flattened manifests - I grabbed each one individually and processed each file using the directory processing feature of the tool:
The text was updated successfully, but these errors were encountered: