Red Sky Ops Tool

redskyctl

Kubernetes Exploration

Synopsis

Kubernetes Exploration

redskyctl [flags]

Options

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
  -h, --help                help for redskyctl
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl check

Run a consistency check

Synopsis

Run a consistency check on Red Sky Ops components

redskyctl check [flags]

Options

  -h, --help   help for check

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl check experiment

Check an experiment

Synopsis

Check an experiment manifest

redskyctl check experiment [flags]

Options

  -f, --filename string   File that contains the experiment to check.
  -h, --help              help for experiment

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl check server

Check the server

Synopsis

Check the Red Sky Ops server

redskyctl check server [flags]

Options

      --dry-run          Generate experiment JSON to stdout.
      --fail             Report an experiment failure instead of generated values.
  -h, --help             help for server
      --invalid          Skip client side validity checks (server enforcement).
      --metrics int      Specify the number of experiment metrics to generate (1 or 2).
      --parameters int   Specify the number of experiment parameters to generate (1 - 20).

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl config

Work with the configuration file

Synopsis

Modify or view the Red Sky Ops configuration file

redskyctl config [flags]

Options

  -h, --help   help for config

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl config fix

Fix configurations

Synopsis

Fix configurations to make them canonical, for example, upgrading from older versions

redskyctl config fix [flags]

Options

  -h, --help   help for fix

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl config set

Modify the configuration file

Synopsis

Modify the Red Sky Ops configuration file

redskyctl config set NAME [VALUE] [flags]

Examples

Names are: address, oauth2.token, oauth2.token_url, oauth2.client_id, oauth2.client_secret

# Set the remote server address
redskyctl config set address http://example.carbonrelay.io

Options

  -h, --help   help for set

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl config view

View the configuration file

Synopsis

View the Red Sky Ops configuration file

redskyctl config view [flags]

Options

  -h, --help   help for view

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl delete

Delete a Red Sky experiment

Synopsis

Delete Red Sky experiments from the remote server

redskyctl delete [experiment...] [flags]

Options

  -h, --help   help for delete

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl generate

Generate Red Sky Ops obejcts

Synopsis

Generate Red Sky Ops object manifests

redskyctl generate [flags]

Options

  -h, --help   help for generate

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl generate rbac

Generate experiment roles

Synopsis

Generate an experiment manifest from a configuration file

redskyctl generate rbac [flags]

Options

      --bootstrap          Generate the default cluster used for initial installations
  -f, --filename string    File that contains the experiment to extract roles from.
  -h, --help               help for rbac
      --include-names      Include resource names in the generated role.
      --role-name string   Name of the cluster role to generate (default is to use a generated name).

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl get

Display a Red Sky resource

Synopsis

Display one or many Red Sky resources

redskyctl get [flags]

Options

  -h, --help   help for get

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl get experiments

Display a list of experiments

Synopsis

Prints a list of experiments using a tabular format by default

redskyctl get experiments [flags]

Options

      --chunk-size int    Fetch large lists in chunks rather then all at once. (default 500)
  -h, --help              help for experiments
      --no-headers        Don't print headers.
  -o, --output string     Output format. One of: json|yaml|name
  -l, --selector string   Selector to filter on.
      --show-labels       When printing, show all labels as the last column.
      --sort-by string    Sort list types using this JSONPath expression.

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl get trials

Display a list of trial for an experiment

Synopsis

Prints a list of trials for an experiment using a tabular format by default

redskyctl get trials NAME [flags]

Options

      --chunk-size int    Fetch large lists in chunks rather then all at once. (default 500)
  -h, --help              help for trials
      --no-headers        Don't print headers.
  -o, --output string     Output format. One of: json|yaml|name|csv
  -l, --selector string   Selector to filter on.
      --show-labels       When printing, show all labels as the last column.
      --sort-by string    Sort list types using this JSONPath expression.

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl init

Install to a cluster

Synopsis

Install Red Sky Ops to a cluster

redskyctl init [flags]

Options

      ----bootstrap-role   Create the bootstrap role (if it does not exist). (default true)
      --dry-run            Generate the manifests instead of applying them.
  -h, --help               help for init

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl reset

Uninstall from a cluster

Synopsis

Uninstall Red Sky Ops from a cluster

redskyctl reset [flags]

Options

  -h, --help   help for reset

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl status

Check in cluster experiment status

Synopsis

Check in cluster experiment or trial status

redskyctl status [NAME] [flags]

Options

  -h, --help            help for status
      --no-headers      Don't print headers.
  -o, --output string   Output format. One of: json|yaml

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl suggest

Suggest assignments

Synopsis

Suggest assignments for a new trial run

redskyctl suggest NAME [flags]

Options

  -A, --assign stringToString   Assign an explicit value to a parameter. (default [])
      --default string          Select the behavior for default values; one of: none|min|max|rand.
  -h, --help                    help for suggest
      --interactive             Allow interactive prompts for unspecified parameter assignments.

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO

redskyctl version

Print the version information

Synopsis

Print the version information for Red Sky Ops components

redskyctl version [flags]

Options

  -h, --help         help for version
      --setuptools   Print only the name of the setuptools image.

Options inherited from parent commands

      --address string      Absolute URL of the Red Sky API.
      --context string      The name of the kubeconfig context to use.
      --kubeconfig string   Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string    If present, the namespace scope for this CLI request.

SEE ALSO