You can deploy application templates from customized source YAML files or from the default YAML files.
Prerequisites
Obtain and deploy the CLI package. If required, copy and customize a source YAML file for the appropriate database environment.
Even where the default templates contain actions for cluster instances of supported databases, the default deployment command creates a template for a single-instance database. For supported cluster databases, use the
--inputfile parameter to specify a YAML file. This YAML file can be one of the examples.
About this task
This task uses the following placeholders:
template-type is one of the following values:
mysqltemplate,
mongodbtemplate,
postgrestemplate, or
cassandratemplate
db-type is one of the following values:
mysql,
mongodb,
postgresql, or
cassandra
user-namespace is a specific namespace
file is the name of a customized YAML file, where applicable
Steps
Log in to the Kubernetes cluster.
To deploy a default application template for a specific namespace, type the following command: