a cli to manage entities in the metal-stack api
--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
-h, --help help for metalctl
--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 audit - manage audit trace entities
- metalctl completion - Generate the autocompletion script for the specified shell
- metalctl context - manage metalctl context
- metalctl filesystemlayout - manage filesystemlayout entities
- metalctl firewall - manage firewall entities
- metalctl firmware - manage firmwares
- metalctl health - shows the server health
- metalctl image - manage image entities
- metalctl login - login user and receive token
- metalctl logout - logout user from OIDC SSO session
- metalctl machine - manage machine entities
- metalctl markdown - create markdown documentation
- metalctl network - manage network entities
- metalctl partition - manage partition entities
- metalctl project - manage project entities
- metalctl size - manage size entities
- metalctl switch - manage switch entities
- metalctl tenant - manage tenant entities
- metalctl update - update the program
- metalctl version - print the client and server version information
- metalctl vpn - access VPN
- metalctl whoami - shows current user