Skip to main content

Manage Assets

Learn how to create and manage assets for use with Codiac.

An asset is a workload. Codiac supports two asset types:

  1. Docker image in a public or private registry.
  2. Helm charts.

Create a new asset

Use the CLI to create a new asset.

Deploy an asset

  1. Open the cabinet where you want to deploy the asset.

  2. Open the Asset Inventory tab.

  3. Find the asset you want to deploy. Click to expand, then choose the version you want to deploy.

  4. Click and drag the asset into the cabinet.

View assets and details

  1. Go to Asset Management to list all the assets in your enterprise.

  2. Click on an asset to see its details.

  3. Click Modify to edit an asset's details.

  4. Save your changes and exit.

Edit an asset

Updating an asset can include a cpu/memory change per running asset, a replica count change, or any other asset configuration change.

To perform the change, update the Asset Management values and redeploy.

  1. Go to Asset Management and select the asset you want to edit.

  2. The Asset Management page has three vertical columns for enterprise-level, environment-level, and cabinet-level configurations.

  3. Click + to add a configuration.

  4. Save your changes and exit.

Edit Asset: Example

Say you have two environments - Dev and Staging.

Dev has two replicas, and Staging has four.

edit codiac asset

edit codiac asset

Instead of Dev having four replicas and Staging having two, you want Dev to have two replicas and Staging to have four.

Within Asset Configuration, you can update the environment config values for replicas.

edit codiac asset

Once updated, run the codiac asset deploy command against the Dev and Staging environments.

edit codiac asset

edit codiac asset

You will see a successful deployment.

edit codiac asset

Remove an asset from a cabinet

Use the CLI to remove an asset from a cabinet.

Delete (obliterate) an asset

Use the CLI to delete an asset.