-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
What would you like to be added:
There's currently no way to know what the default image is based on the version alone
$ kind version
kind v0.31.0 go1.25.5 linux/amd64
I would be nice to "bulk up" the version command to output more information with either -o yaml or -o json
Example:
$ kind version -o json
{
"kind": {
"version": "v0.31.0",
"gitCommit": "somelongstring",
"platform": "linux/amd64",
"defaultImage": "kindest/node:v1.35.0@sha256:452d707d4862f52530247495d180205e029056831160e22870e37e3f6c1ac31f"
}
}
This will also provide a way to add information in the future.
This puts it in par with kubectl version -o json
Why is this needed:
Instead of creating sub-commands for superfluous information, it would be good to have it in one location and version seems like the obvious choice.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.