ocne application install
Installs an application from an application catalog.
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]
Where:
-
{-b|--built-in-catalog}
-
Installs the Oracle application catalog (
ocne-catalog
) into theocne-system
namespace, in environments where this isn't installed by default. This option is mutually exclusive with the--catalog
option. -
{-c|--catalog} name
-
The name of the catalog that contains the application. The default is
Oracle Cloud Native Environment Application Catalog
. This option is mutually exclusive with the--built-in-catalog
option. -
{-N|--name} name
-
The name of the application to install.
-
{-n|--namespace} namespace
-
The Kubernetes namespace in which to install the application. The namespace is created if it doesn't already exist. If this value isn't provided, the namespace from the current context of the
kubeconfig
is used. -
{-r|--release} name
-
The name of the release of the application. The same application can be installed many times, differentiated by a release name.
-
{-u|--values} URI
-
The URI of an application configuration. The format of the configuration depends on the style of application served by the target catalog. In general, it's a set of Helm values.
-
{-v|--version} version
-
The version of an application to install. By default, the version is the latest stable version of the application.
Example 4-1 Install an application
To install an application from the default catalog:
ocne application install --release ingress-nginx --namespace ingress-nginx --name ingress-nginx
Example 4-2 Install an application with configuration information
To install an application from a catalog, and include installation configuration
information, use a values configuration file. For example, to include the Prometheus
node-exporter
when deploying Prometheus:
ocne application install --release prometheus --namespace prometheus --name prometheus --values - << EOF
serviceAccounts:
nodeExporter:
create: true
name:
annotations: {}
nodeExporter:
enabled: true
image:
repository: container-registry.oracle.com/verrazzano/node-exporter
tag: v1.3.1
pullPolicy: IfNotPresent
EOF
Example 4-3 Install an application from an application template
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