Installing an Application from a Template
Use the ocne application install
command with an application template
file as the values configuration file. The syntax is:
ocne application install
{-b|--built-in-catalog}
[{-c|--catalog} name]
{-N|--name} name
[{-n|--namespace} namespace]
{-r|--release} name
[{-u|--values} URI]
[{-v|--version} version]
For more information on the syntax options, see Oracle Cloud Native Environment: CLI.
Examples:
To install an application from a catalog using configuration information from an application template:
ocne application install --release prometheus --namespace prometheus --name prometheus --values mytemplate.yaml
To install an application from the default catalog:
-
In the navigation menu, select Apps.
The Applications page is displayed listing all the applications available in the default catalog.
-
Enter characters in the Search field to display only applications whose name contain the entered characters.
-
Find the application you need to install and select Install.
A dialog box appears with the following fields:-
An edit box with YAML configuration for the application that's to be installed.
Paste the contents of the application template file into the edit box.
-
The following mandatory fields: Release Name, Namespaces, Versions and Release Description.
-
-
Select Install.
The dialog is dismissed, and a message is displayed onscreen to confirm the installation request has been accepted.
The installation completes and a message is displayed confirming the release has been created successfully.