Skip to main content
Version: 0.9

acorn update

acorn update

Update a deployed Acorn

acorn update [flags] ACORN_NAME [deploy flags]

Examples


# Change the image on an Acorn called "my-app"
acorn update --image <new image> my-app

# Change the image on an Acorn called "my-app" to the contents of the current directory (which must include an Acornfile)
acorn update --image . my-app

# Enable auto-upgrade on an Acorn called "my-app"
acorn update --auto-upgrade my-app

Options

      --args-file string   Default args to apply to run/update command (default ".args.acorn")
--auto-upgrade Enabled automatic upgrades.
--confirm-upgrade When an auto-upgrade app is marked as having an upgrade available, pass this flag to confirm the upgrade. Used in conjunction with --notify-upgrade.
-f, --file string Name of the build file (default "DIRECTORY/Acornfile")
-h, --help help for update
--help-advanced Show verbose help text
--image string Acorn image name
--notify-upgrade If true and the app is configured for auto-upgrades, you will be notified in the CLI when an upgrade is available and must confirm it
-o, --output string Output API request without creating app (json, yaml)
--pull Re-pull the app's image, which will cause the app to re-deploy if the image has changed
-q, --quiet Do not print status
--wait Wait for app to become ready before command exiting (default: true)

Options inherited from parent commands

      --config-file string   Path of the acorn config file to use
--debug Enable debug logging
--debug-level int Debug log level (valid 0-9) (default 7)
--kubeconfig string Explicitly use kubeconfig file, overriding the default context
-j, --project string Project to work in

SEE ALSO