Skip to main content

astroctl_application

astroctl application

Manage applications

Synopsis

Manage applications and profiles. Supports file-based and stdin input for apply commands.

astroctl application [flags]

Examples



# Create an application profile
astroctl app profile create -n test-profile --proximity

# Apply application profile from file
astroctl app profile apply -f profile.yaml

# Apply application profile from stdin
cat profile.yaml | astroctl app profile apply -f -

# Get the application profile
astroctl app profile get -n test-profile

# Delete the application profile
astroctl app profile delete -n test-profile

# Apply application from file
astroctl app apply -f application.yaml

# Apply application from stdin
echo 'name: myapp...' | astroctl app apply -f -

# Create an application
astroctl app create -n myapp -p test-profile -i astropulse/latency:v1.0.0

# Get the application detail
astroctl app get -n myapp

# Get the status of the application
astroctl app status -n myapp

# Get the application log
astroctl app log -n myapp

# Delete the application
astroctl app delete -n myapp

# Resync the application (force sync from Git)
astroctl app resync -n myapp

# Force resync when stuck in terminating state
astroctl app resync -n myapp --force

# Get the original specification used to create the application
astroctl app spec myapp

# Get the application spec in JSON format for upgrade workflows
astroctl app spec myapp -o json


Options

  -h, --help          help for application
-n, --name string name of the application

Options inherited from parent commands

  -o, --output string   Output format (json|yaml) (default "yaml")

SEE ALSO