Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

NetApp Astra Control SDK Docs

Installation and Configuration

See the main README for information on how to install the NetApp Astra Control SDK, and/or the following videos:

Astra SDK Classes

High level overview of the astraSDK/ classes can be found in the following pages:

Toolkit Functions

actoolkit / toolkit.py utilizes argparse to provide an interactive CLI. To view the possible arguments, run actoolkit -h:

$ actoolkit -h
usage: actoolkit [-h] [-v] [-o {json,yaml,table}] [-q] [-f] [--v3] [--dry-run {client,server}] {deploy,clone,restore,ipr,list,get,copy,create,manage,define,destroy,unmanage,update} ...

positional arguments:
  {deploy,clone,restore,ipr,list,get,copy,create,manage,define,destroy,unmanage,update}
                        subcommand help
    deploy              Deploy kubernetes resources into current context
    clone               Live clone a running app to a new namespace
    restore             Restore an app from a backup or snapshot to a new namespace
    ipr                 In-Place Restore an app (destructive action for app) from a backup or snapshot
    list (get)          List all items in a class
    copy                Copy resources from one app to another app
    create              Create an object
    manage (define)     Manage an object
    destroy             Destroy an object
    unmanage            Unmanage an object
    update              Update an object

options:
  -h, --help            show this help message and exit
  -v, --verbose         print verbose/verbose output
  -o {json,yaml,table}, --output {json,yaml,table}
                        command output format
  -q, --quiet           supress output
  -f, --fast            prioritize speed over validation (using this will not validate arguments, which may have unintended consequences)

v3 group:
  use CR-driven Kubernetes workflows rather than the Astra Control API

  --v3                  create a v3 CR directly on the Kubernetes cluster (defaults to current context, but optionally specify a different context, kubeconfig_file, or kubeconfig_file:context mapping)
  --dry-run {client,server}
                        client: output YAML to standard out; server: submit request without persisting the resource

For more information on the positional arguments, see the following pages:

For more information on the optional arguments, please see the following page: