app

Operations with applications

Usage

apolo app [OPTIONS] COMMAND [ARGS]...

Operations with applications.

Commands:

Usage
Description

Reconfigure an app instance using YAML file

Get input for an app

Get configuration revisions for an app

Get status events for an app

Get application values

Install an app from a YAML file

List apps

Print the logs for an app

Alias to list

Rollback application configuration

Uninstall an app

configure

Reconfigure an app instance using YAML file

Usage

Reconfigure an app instance using YAML file.

Options

Name
Description

--help

Show this message and exit.

-c, --comment TEXT

Comment for the configuration.

-f, --file TEXT

Path to the app configuration YAML file. [required]

get-input

Get input for an app

Usage

Get input for an app.

APP_ID: ID of the app to get input for.

Options

Name
Description

--help

Show this message and exit.

--cluster CLUSTER

Look on a specified cluster (the current cluster by default).

--org ORG

Look on a specified org (the current org by default).

-o, --output [yaml | json]

Output format (default: yaml).

--project PROJECT

Look on a specified project (the current project by default).

-r, --revision INTEGER

Revision number to get input for. If not specified, the latest revision is used.

get-revisions

Get configuration revisions for an app

Usage

Get configuration revisions for an app.

APP_ID: ID of the app to get configuration revisions for.

Options

Name
Description

--help

Show this message and exit.

-o, --output [table | json]

Output format (default: table).

get-status

Get status events for an app

Usage

Get status events for an app.

APP_ID: ID of the app to get status for status events.

Options

Name
Description

--help

Show this message and exit.

--cluster CLUSTER

Look on a specified cluster (the current cluster by default).

--org ORG

Look on a specified org (the current org by default).

-o, --output [table | json]

Output format (default: table).

--project PROJECT

Look on a specified project (the current project by default).

get-values

Get application values

Usage

Get application values.

APP_ID: Optional ID of the app to get values for.

Options

Name
Description

--help

Show this message and exit.

--cluster CLUSTER

Look on a specified cluster (the current cluster by default).

--org ORG

Look on a specified org (the current org by default).

-o, --output TEXT

Output format (default: table).

--project PROJECT

Look on a specified project (the current project by default).

-t, --type TEXT

Filter by value type.

install

Install an app from a YAML file

Usage

Install an app from a YAML file.

Options

Name
Description

--help

Show this message and exit.

--cluster CLUSTER

Specify the cluster (the current cluster by default).

-f, --file TEXT

Path to the app YAML file. [required]

--org ORG

Specify the org (the current org by default).

--project PROJECT

Specify the project (the current project by default).

list

List apps

Usage

List apps.

Options

Name
Description

--help

Show this message and exit.

-a, --all

Show apps in all states.

--cluster CLUSTER

Look on a specified cluster (the current cluster by default).

--org ORG

Look on a specified org (the current org by default).

--project PROJECT

Look on a specified project (the current project by default).

-s, --state [queued | progressing | healthy | degraded | errored | uninstalling | uninstalled]

Filter out apps by state (multiple option).

logs

Print the logs for an app

Usage

Print the logs for an app.

Options

Name
Description

--help

Show this message and exit.

--cluster CLUSTER

Look on a specified cluster (the current cluster by default).

--org ORG

Look on a specified org (the current org by default).

--project PROJECT

Look on a specified project (the current project by default).

--since DATE_OR_TIMEDELTA

Only return logs after a specific date (including). Use value of format '1d2h3m4s' to specify moment in past relatively to current time.

--timestamps

Include timestamps on each line in the log output.

ls

Alias to list

Usage

Alias to list

Options

Name
Description

--help

Show this message and exit.

-a, --all

Show apps in all states.

--cluster CLUSTER

Look on a specified cluster (the current cluster by default).

--org ORG

Look on a specified org (the current org by default).

--project PROJECT

Look on a specified project (the current project by default).

-s, --state [queued | progressing | healthy | degraded | errored | uninstalling | uninstalled]

Filter out apps by state (multiple option).

rollback

Rollback application configuration

Usage

Rollback application configuration.

APPID: ID of the app to rollback. REVISIONNUMBER: Target revision number.

Options

Name
Description

--help

Show this message and exit.

--cluster CLUSTER

Look on a specified cluster (the current cluster by default).

-c, --comment TEXT

Comment for the rollback.

--org ORG

Look on a specified org (the current org by default).

--project PROJECT

Look on a specified project (the current project by default).

uninstall

Uninstall an app

Usage

Uninstall an app.

APP_ID: ID of the app to uninstall

Options

Name
Description

--help

Show this message and exit.

--cluster CLUSTER

Look on a specified cluster (the current cluster by default).

-f, --force

Force uninstall the app.

--org ORG

Look on a specified org (the current org by default).

--project PROJECT

Look on a specified project (the current project by default).

Last updated

Was this helpful?