Command · pk-metal
pk-metal version
changes no machineno cluster necessary
pk-metal version prints the version of the program on one line.
Synopsis
Section titled “Synopsis”pk-metal versionThe command takes no arguments and has no flags.
What it does
Section titled “What it does”The build writes the version into the binary. A binary from a release prints the release tag.
A binary that you build without a tag prints dev.
Examples
Section titled “Examples”pk-metal version
v0.9.0
Objects
Section titled “Objects”The command reads and writes no object. It does not talk to the cluster or to a BMC.
Exit status
Section titled “Exit status”Related
Section titled “Related”- Commands
- Collect diagnostics asks for the version of the program.
- pk-metal approve can show
unknown stepwhen the program is older than the operator. Then install a newer program.