Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

PowerProtect Data Manager 19.15 Kubernetes User Guide

Deploy application templates

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

  1. Log in to the Kubernetes cluster.
  2. To deploy a default application template for a specific namespace, type the following command:

    ppdmctl applicationtemplate create template-type --type=db-type --namespace=user-namespace

    For example:

    1. To deploy a default MySQL application template for a specific namespace, type the following command:
      ppdmctl applicationtemplate create mysqltemplate --type=mysql --namespace=user-namespace
    2. To deploy a default MySQL application template for the PowerProtect namespace, which applies to all namespaces, type the following command:
      ppdmctl applicationtemplate create mysqltemplate --type=mysql --namespace=powerprotect
  3. To deploy an application template from a customized YAML file, type the following command:
    ppdmctl applicationtemplate create template-type --type=db-type --namespace=user-namespace --inputfile=file.yaml
  4. To list the application templates for a specific namespace, type the following command:
    kubectl get applicationtemplate --namespace=user-namespace
  5. To edit an application template in a specific namespace, type one of the following commands:

    kubectl edit applicationtemplate template-type --namespace=user-namespace

    For example:

    kubectl edit applicationtemplate mysqltemplate --namespace=powerprotect


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\