Upgrade an automated offline application installation

If you installed a Puppet application following the automated offline installation instructions, run a script to upgrade to the latest version.

Important: Ensure that you are following an approved upgrade path for the application you want to upgrade. For more information, check the relevant application documentation.
  1. Download the application bundle you want to upgrade to. Copy to your primary node.
  2. From the command line of your primary (control plane) node, get the application slug for the application you want to upgrade:
    kubectl kots --namespace <NAMESPACE> get apps

    Replace <NAMESPACE> with the name of the namespace in which you installed PAM (usually default).

  3. Run the upgrade script:
    kubectl kots upstream upgrade <APPLICATION SLUG> --airgap-bundle ./<APPLICATION BUNDLE FILE> --kotsadm-namespace <REGISTRY NAMESPACE> --namespace <NAMESPACE> --deploy
    • Replace <APPLICATION SLUG> with the relevant application slug for the application you want to upgrade.
    • Replace <APPLICATION BUNDLE FILE> with the name of the application bundle file.
    • Replace <REGISTRY NAMESPACE> with your Registry namespace where images are uploaded.
    • Replace <NAMESPACE> with the name of the namespace in which you installed PAM (usually default).
  4. Wait five minutes to allow the software time to process the change.
  5. Navigate to http://<NODE IP ADDRESS>:8800 and log in with the Puppet Application Manager password.
    If preflight checks have passed, the upgraded application is deployed and in the process of starting up. To monitor the deployment's progress, run:
    kubectl get pods --watch