Skip to main content

Step 9: Update the Application

To test the new release that you promoted, return to the Replicated admin console in a browser to update the application.

To update the application:

  1. In a browser, open the admin console at https://localhost:8800.

    note

    You can access the admin console as long as the installation script is running. If you press Ctrl+C to exit, run kubectl kots admin-console --namespace cli-tutorial to access the admin console again.

  2. Go to the Version history page, and click Check for update.

    admin console verson history page

    The admin console loads the new release that you promoted.

  3. Click Deploy. In the dialog, click Yes, deploy to deploy the new version.

    admin console verson history page with new version

  4. After the admin console deploys the new version, go to the Config page where the Another Text Example field that you added is displayed.

    admin console configuration page with Another Text Example field

  5. In the new Another Text Example field, enter any text. Click Save config.

    The admin console notifies you that the configuration settings for the application have changed.

    dialog over admin console configuration screen

  6. In the dialog, click Go to updated version.

    The admin console loads the updated version on the Version history page.

  7. On the Version history page, click Deploy next to the latest version to deploy the configuration change.

    admin console verson history page with new version

  8. After the admin console deploys the configuration change, go to the Dashboard page and click Open App. The application displays the text that you added to the field.

    web page with text from the new configuration field

    note

    If you do not see the new text, click Refresh in your browser.

Next Steps

Congratulations! As part of this tutorial, you:

  • Created and promoted a release for a Kubernetes application using the replicated CLI
  • Installed the application in a Kubernetes cluster
  • Edited the manifest files for the application, adding a new configuration field and using template functions to reference the field
  • Promoted a new release with your changes
  • Used the admin console to update the application to the latest version

As a next step, you can continue to iterate on your application, using replicated release create --auto to promote each new release. For ideas on features and funcionality to add to your sample application, see Iterating Your Releases in How to Package and Distribute a Production Application.