Skip to main content
Version: 1.7

Creating Application From Template

Introduction ​

Application templates provide a predefined configuration for creating new applications. You can create an application directly from an application template instead of setting up and repeating the app configuration steps from scratch (such as build configurations, base configurations, CI/CD workflows, and environment details).

Refer Application Templates to learn more.

Who Can Perform This Action?
  • Users need to have Admin permission or above to create applications from application templates.
  • Users need to have super-admin permissions in order to customize template configurations.

Using Application Templates​

You can create an application using an application template by following the below steps:

  1. On the Devtron dashboard, select Applications.

  2. On the upper-right corner of the screen, click Create.

  3. Select Custom app from the drop-down list; a Create Devtron Application modal window will appear.

    Figure 1: Clicking 'Custom app'

  4. Select From template from the left-side of the modal window; a list of all application templates will appear.

    Figure 2: Selecting 'From template'

  5. Select the application template from which you want to create the application; you can also search for the preferred application template from the search bar.

    Figure 3: Selecting Application Template

  6. After selecting the application template, you need to provide the following details

    FieldRequired/OptionalDescription
    ProjectRequiredSelect the Project for your Application
    Application NameRequiredEnter a name for the Application
    DescriptionOptionalProvide a short description for the application
    TagsOptionalKey-value pairs used for identifying and organizing the application and can be propagated as Kubernetes labels. To learn more refer Tags section.
    Git AccountRequiredSelect a Git Account
    Git Repo URLRequiredEnter the preferred Git Repository
    Container RegistryRequiredSelect a Container Registry
    Container RepositoryOptionalEnter a container repository; desired format: username/repo-name
    WorkflowsOptionalSelect preferred environments for your deployment pipeline in your workflows

    Figure 4a: Entering Details

    Figure 4b: Configuring Code Source, Container Registry and Environments

Note

By default, configurations are inherited from the application which is used to create that application template.

  1. Click Create Application and the application will be created.

    Figure 5: Creating Application From Template


Extras​

Tags​

Tags are key-value pairs. You can add one or multiple tags in your application.

Propagate Tags When tags are propagated, they are considered as labels to Kubernetes resources. Kubernetes offers integrated support for using these labels to query objects and perform bulk operations e.g., consolidated billing using labels. You can use these tags to filter/identify resources via CLI or in other Kubernetes tools.

Figure 6: Adding Tags

  1. Click Add tags to application.

  2. Add your preferred Tags.

  3. Click + icon next to KEY field to add a new tag.

  4. Click the symbol on the left side of your tag to propagate a tag.
    Note: Dark grey colour in symbol specifies that the tags are propagated.

  5. To remove the tags from propagation, click the symbol again.