GithubHelp home page GithubHelp logo

isabella232 / spotctl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spotinst/spotctl

0.0 0.0 0.0 24.41 MB

[WIP] A unified CLI to manage your Spot resources.

Home Page: https://docs.spot.io

License: Apache License 2.0

Go 99.25% Makefile 0.75%

spotctl's Introduction

Spotctl

A unified command-line interface to manage your Spot resources.

Table of Contents

Installation

For macOS users, the easiest way to install spotctl is to use Homebrew:

$ brew install spotinst/tap/spotctl

Otherwise, please download the latest release from the Releases page.

Getting Started

Before using spotctl, you need to configure your Spot credentials. You can do this in several ways:

  • Environment variables
  • Credentials file

The quickest way to get started is to run the spotctl configure command:

$ spotctl configure

asciicast

To use environment variables, do the following:

$ export SPOTINST_TOKEN=<spotinst_token>
$ export SPOTINST_ACCOUNT=<spotinst_account>

To use the credentials file, run the spotctl configure command or manually create an INI formatted file like this:

[default]
token   = <spotinst_token>
account = <spotinst_account>

and place it in:

  • Unix/Linux/macOS: ~/.spotinst/credentials
  • Windows: %UserProfile%\.spotinst/credentials

If you wish to place the credentials file in a different location than the one specified above, you need to tell spotctl where to find it. Do this by setting the following environment variable:

$ export SPOTINST_CREDENTIALS_FILE=/path/to/credentials_file

Documentation

If you're new to Spot and want to get started, please checkout our Getting Started guide, available on the Spot Documentation website.

Examples

Create a new quickstart Kubernetes cluster on AWS using kops with Ocean node instance groups:

$ spotctl ocean quickstart cluster kubernetes aws

asciicast

Frequently Asked Questions

Getting Help

We use GitHub issues for tracking bugs and feature requests. Please use these community resources for getting help:

Community

Contributing

Please see the contribution guidelines.

License

Code is licensed under the Apache License 2.0. See NOTICE.md for complete details, including software and third-party licenses and permissions.

spotctl's People

Contributors

dependabot[bot] avatar liranp avatar thorsteinnth avatar ntfrnzn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.