Skip to content

Managing Deployments

A deployment is a resource object that provides declarative updates to applications. A deployment allows you to describe an application's lifecycle, such as which images to use for the app, the number of pods there should be, and the way in which they should be updated.


Accessing Deployments

  1. After logging into CHAI™, click on the project where you want to manage deployments, then click Cruize.

    Cruize

  2. Click on the blueprint version count on the blueprint card. After clicking the count, the blueprint versions page will be displayed, which contains a list of blueprint versions as shown in the image below.

    Cruize deployments

  3. Click on the View configurations kebab menu option or click on the blueprint version name to view deployments.

Cruize deployments

![Cruize deployments](../cruize-images/applicationBlueprints/versionsMenu.png)
  1. After clicking the above options, the blueprint configurations page will be shown with the deployments list as shown in the image below.

    Cruize deployments


Adding a New Deployment

  1. Click Add Deployment(s) from the deployment view. This will open a popup to add a deployment as shown in the image below.

  2. Provide a valid deployment name that meets the following requirements:

    • Only alphanumeric characters or hyphens (-) are allowed
    • Must start and end with an alphanumeric character
    • Name must be unique

    Cruize deployments

  3. After providing the deployment name, click Add Deployment to add the deployment as shown below.

    Cruize deployments

  4. This will create the added deployment as shown in the image below.

    Cruize deployments


Create Copy of Deployment

  1. Click on the kebab menu (three-dot menu) of the deployment to create a copy.

    Cruize deployments

  2. Select Create copy from the kebab menu. This will open a popup to enter the new copied deployment name as shown in the image below.

  3. In the popup, provide the following details:

Copied Deployment Name

  • Provide a user-defined name for the new copy
  • Only alphanumeric characters or hyphens (-) are allowed
  • Must start and end with an alphanumeric character
  • Name must be unique

Cruize deployments

  1. After providing the name, click the Create copy button. The copy will be created.

  2. The copied deployment will be listed in the deployment table as shown in the image below.

    Cruize deployments


Delete Deployment

  1. Click on the kebab menu (three-dot menu) of the deployment you want to delete.

    Cruize deployments

  2. Select Delete deployment from the kebab menu. This will open a confirmation popup asking for confirmation as shown below.

  3. Click the Delete button to delete the deployment.

  4. This will remove the deleted deployment.

    Cruize deployments


Deployment Configurations

  1. Service
  2. Replica
  3. Image Pull Secrets
  4. Termination Grace Period
  5. Host Alias
  6. Labels and Annotations
  7. Container