manage machine entities
a machine is a bare metal server provisioned through metal-stack that is intended to run user workload.
-h, --help help for machine
--api-token string api token to authenticate. Can be specified with METALCTL_API_TOKEN environment variable.
--api-url string api server address. Can be specified with METALCTL_API_URL environment variable.
-c, --config string alternative config file path, (default is ~/.metalctl/config.yaml).
Example config.yaml:
---
apitoken: "alongtoken"
...
--debug debug output
--force-color force colored output even without tty
--kubeconfig string Path to the kube-config to use for authentication and authorization. Is updated by login. Uses default path if not specified.
--no-headers do not print headers of table output format (default print headers)
-o, --output-format string output format (table|wide|markdown|json|yaml|template), wide is a table with more columns. (default "table")
--template string output template for template output-format, go template format.
For property names inspect the output of -o json or -o yaml for reference.
Example for machines:
metalctl machine list -o template --template "{{ .id }}:{{ .size.id }}"
--yes-i-really-mean-it skips security prompts (which can be dangerous to set blindly because actions can lead to data loss or additional costs)
- metalctl - a cli to manage entities in the metal-stack api
- metalctl machine apply - applies one or more machines from a given file
- metalctl machine console - console access to a machine
- metalctl machine consolepassword - fetch the consolepassword for a machine
- metalctl machine create - creates the machine
- metalctl machine delete - deletes the machine
- metalctl machine describe - describes the machine
- metalctl machine edit - edit the machine through an editor and update
- metalctl machine identify - manage machine chassis identify LED power
- metalctl machine ipmi - display ipmi details of the machine, if no machine ID is given all ipmi addresses are returned.
- metalctl machine issues - display machines which are in a potential bad state
- metalctl machine list - list all machines
- metalctl machine lock - lock a machine
- metalctl machine logs - display machine provisioning logs
- metalctl machine power - manage machine power
- metalctl machine reinstall - reinstalls an already allocated machine
- metalctl machine reserve - reserve a machine
- metalctl machine update - updates the machine
- metalctl machine update-firmware - update a machine firmware