Skip to main content

How to Create Kubernetes Templates

The following guide will walk you through the steps to create Kubernetes templates for your applications. Kubernetes templates help streamline the deployment and management of applications by providing reusable configurations.

Create a Kubernetes template

To create a Kubernetes template, you can follow these steps:

  1. On the GlobalAI dashboard and access to the Kubernetes Templates section on the sidebar.
  2. Click on the Create template group button.
Create Kubernetes Template Button
  1. Fill in the required details:
    • Name: Provide a unique name for the template.
Template Naming

The min length should be 2 characters and the max length should be 120 characters.

  • Status: Toggle the button to set the template as active or inactive.
  • Tags: Add relevant tags to categorize the template.
  1. After filling in the details, click Create to save the new template.
Kubernetes Template Details

Manage the Kubernetes templates

Once you have created a template, you can manage it by adding or editing configurations as needed. You can also assign templates to specific applications or services to ensure consistent deployment across your Kubernetes clusters. After creation, the Kubernetes Templates page lists the templates where you can view, edit, or delete them as required.

Kubernetes Templates

Edit a Kubernetes template

To edit an existing Kubernetes template, follow these steps:

  1. On the GlobalAI dashboard and access to the Kubernetes Templates section on the sidebar.
  2. Locate the template you want to edit from the list.
  3. Click on the Edit button next to the template.
Edit Kubernetes Template Button

By clicking the Edit button, you can change the template's configurations, update its status, or change its tags. After making the necessary changes, click Save to update the template.

Delete a Kubernetes template

To delete a Kubernetes template, follow these steps:

  1. On the GlobalAI dashboard and access to the Kubernetes Templates section on the sidebar.
  2. Locate the template you want to delete from the list.
  3. Click on the Delete button next to the template.
  4. On the confirmation dialog, click Delete to permanently delete the template.
    • To cancel the deletion, click No.
Delete Kubernetes Template Button

Now that you know how to create Kubernetes templates, you might want to learn more about: