A command-line tool to manage Rackspace Spot resources including Kubernetes and VM cloudspaces, node pools, organizations, and more.
- For Kubernetes resources documentation, see docs/kubernetes.md
- For VM resources documentation, see docs/virtualmachines.md
- Complete resource lifecycle management
- Multiple output formats (JSON, YAML, Table)
- OAuth2 authentication
- Interactive command structure
- Cross-platform support
- Easy configuration management
- User should have access to Rackspace Spot Organization.
- User should have Refresh Token for the corresponding Organization.
<org>refers to organization name whenever used in commands.
Download the binary from the releases page: https://github.com/rackspace-spot/spotctl/releases
Move the binary to a directory in your PATH, for example:
sudo mv spotctl /usr/local/bin/Verify installation:
spotctl --versionIn order to use spotctl, you need to configure your spotctl: You need pass the organization name, region and refresh token.
# Run the interactive configuration wizard
spotctl configurespotctl configure- Configure spotctl
spotctl serverclasses list- List available server classesspotctl serverclasses get <name>- Get details of a server class
spotctl regions list- List available regionsspotctl regions get <name>- Get details of a region
spotctl organizations list- List organizationsspotctl organizations get --name <name>- Get organization details by name
spotctl pricing get <serverclass>- Get pricing informationspotctl pricing get-all- Get pricing information for all server classes
For documentation, please refer to the official Rackspace Spot documentation. For support, ask your questions in the Rackspace community discussions, or drop us an email.
Copyright © Rackspace US, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0