DeisClient.
apps_create
(args)[source]¶Creates a new application.
Usage: deis apps:create [<id>] [options]
--no-remote | do not create a deis git remote. |
DeisClient.
apps_list
(args)[source]¶Lists applications visible to the current user.
Usage: deis apps:list
DeisClient.
apps_info
(args)[source]¶Prints info about the current application.
Usage: deis apps:info [options]
DeisClient.
apps_open
(args)[source]¶Opens a URL to the application in the default browser.
Usage: deis apps:open [options]
DeisClient.
apps_logs
(args)[source]¶Retrieves the most recent log events.
Usage: deis apps:logs [options]
DeisClient.
apps_run
(args)[source]¶Runs a command inside an ephemeral app container. Default environment is /bin/bash.
Usage: deis apps:run [options] [–] <command>...
DeisClient.
auth_register
(args)[source]¶Registers a new user with a Deis controller.
Usage: deis auth:register <controller> [options]
--username=<username> | |
provide a username for the new account. | |
--password=<password> | |
provide a password for the new account. | |
--email=<email> | |
provide an email address. | |
--ssl-verify=false | |
disables SSL certificate verification for API requests |
DeisClient.
auth_cancel
(args)[source]¶Cancels and removes the current account.
Usage: deis auth:cancel [options]
--username=<username> | |
provide a username for the account. | |
--password=<password> | |
provide a password for the account. | |
--yes | force “yes” when prompted. |
DeisClient.
auth_login
(args)[source]¶Logs in by authenticating against a controller.
Usage: deis auth:login <controller> [options]
--username=<username> | |
provide a username for the account. | |
--password=<password> | |
provide a password for the account. | |
--ssl-verify=false | |
disables SSL certificate verification for API requests |
DeisClient.
builds_list
(args)[source]¶Lists build history for an application.
Usage: deis builds:list [options]
DeisClient.
builds_create
(args)[source]¶Creates a new build of an application. Imports an <image> and deploys it to Deis as a new release. If a Procfile is present in the current directory, it will be used as the default process types for this application.
Usage: deis builds:create <image> [options]
DeisClient.
config_list
(args)[source]¶Lists environment variables for an application.
Usage: deis config:list [options]
--oneline | print output on one line. |
DeisClient.
config_set
(args)[source]¶Sets environment variables for an application.
Usage: deis config:set <var>=<value> [<var>=<value>...] [options]
DeisClient.
config_unset
(args)[source]¶Unsets an environment variable for an application.
Usage: deis config:unset <key>... [options]
DeisClient.
config_pull
(args)[source]¶Extract all environment variables from an application for local use.
Your environment will be stored locally in a file named .env. This file can be read by foreman to load the local environment for your app.
Usage: deis config:pull [options]
DeisClient.
domains_add
(args)[source]¶Binds a domain to an application.
Usage: deis domains:add <domain> [options]
DeisClient.
limits_list
(args)[source]¶Lists resource limits for an application.
Usage: deis limits:list [options]
DeisClient.
limits_set
(args)[source]¶Sets resource limits for an application.
A resource limit is a finite resource within a container which we can apply restrictions to either through the scheduler or through the Docker API. This limit is applied to each individual container, so setting a memory limit of 1G for an application means that each container gets 1G of memory.
Usage: deis limits:set [options] <type>=<limit>...
The limit to apply to the process type. By default, this is set to –memory. You can only set one type of limit per call.
With –memory, units are represented in Bytes (B), Kilobytes (K), Megabytes (M), or Gigabytes (G). For example, deis limit:set cmd=1G will restrict all “cmd” processes to a maximum of 1 Gigabyte of memory each.
With –cpu, units are represented in the number of cpu shares. For example, deis limit:set –cpu cmd=1024 will restrict all “cmd” processes to a maximum of 1024 cpu shares.
DeisClient.
limits_unset
(args)[source]¶Unsets resource limits for an application.
Usage: deis limits:unset [options] [–memory | –cpu] <type>...
DeisClient.
perms_list
(args)[source]¶Lists all users with permission to use an app, or lists all users with system administrator privileges.
Usage: deis perms:list [-a –app=<app>|–admin]
--admin | lists all users with system administrator privileges. |
DeisClient.
perms_create
(args)[source]¶Gives another user permission to use an app, or gives another user system administrator privileges.
Usage: deis perms:create <username> [-a –app=<app>|–admin]
--admin | grants <username> system administrator privileges. |
DeisClient.
perms_delete
(args)[source]¶Revokes another user’s permission to use an app, or revokes another user’s system administrator privileges.
Usage: deis perms:delete <username> [-a –app=<app>|–admin]
--admin | revokes <username> system administrator privileges. |
See deis_builds.
DeisClient.
ps_list
(args, app=None)[source]¶Lists processes servicing an application.
Usage: deis ps:list [options]
DeisClient.
ps_scale
(args)[source]¶Scales an application’s processes by type.
Usage: deis ps:scale <type>=<num>... [options]
DeisClient.
releases_list
(args)[source]¶Lists release history for an application.
Usage: deis releases:list [options]
Lists tags for an application.
Usage: deis tags:list [options]
Sets tags for an application.
A tag is a key/value pair used to tag an application’s containers and is passed to the scheduler. This is often used to restrict workloads to specific hosts matching the scheduler-configured metadata.
Usage: deis tags:set [options] <key>=<value>...
Unsets tags for an application.
Usage: deis tags:unset [options] <key>...