Manage Assets
Learn how to create and manage assets for use with Codiac.
An asset is a workload. Codiac supports two asset types:
- Docker image in a public or private registry.
- Helm charts.
Create a new asset
Use the CLI to create a new asset.
Deploy an asset
-
Open the cabinet where you want to deploy the asset.
-
Open the Asset Inventory tab.
-
Find the asset you want to deploy. Click to expand, then choose the version you want to deploy.
-
Click and drag the asset into the cabinet.
View assets and details
-
Go to Asset Management to list all the assets in your enterprise.
-
Click on an asset to see its details.
-
Click Modify to edit an asset's details.
-
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.
-
Go to Asset Management and select the asset you want to edit.
-
The Asset Management page has three vertical columns for enterprise-level, environment-level, and cabinet-level configurations.
-
Click + to add a configuration.
-
Save your changes and exit.
Edit Asset: Example
Say you have two environments - Dev and Staging.
Dev has two replicas, and Staging has four.
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.
Once updated, run the codiac asset deploy
command against the Dev and Staging environments.
You will see a successful deployment.
Remove an asset from a cabinet
Use the CLI to remove an asset from a cabinet.