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:
In a browser, open the admin console at
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-tutorialto access the admin console again.
Go to the Version history page, and click Check for update.
The admin console loads the new release that you promoted.
Click Deploy. In the dialog, click Yes, deploy to deploy the new version.
After the admin console deploys the new version, go to the Config page where the Another Text Example field that you added is displayed.
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.
In the dialog, click Go to updated version.
The admin console loads the updated version on the Version history page.
On the Version history page, click Deploy next to the latest version to deploy the configuration change.
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.
If you do not see the new text, click Refresh in your browser.
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.