Create Workloads
In the previous lab we deployed a workload using Argo CD with a BYO manifest and we explored the Catalog. In this lab we'll create a Workload (a Kubernetes Deployment) using the Catalog and the Workload self-service feature.
Create a Workload using the Catalog
Before creating a Workload from the Catalog, we'll need the repository
and tag
of the image to use. Go to the list of Builds and add the repository
of the blue
build to your clipboard. Remember that the tag is latest
.
You can create a workload from the developer catalog:
-
Go to
Catalog
in the left menu and click on theQuickstart-K8s-Deployment
template. -
Click on
Values
. -
Add the Name
blue
. -
Leave the
Auto image updater
toDisabled
. -
In the workload
values
, change the following parameters:
image:
repository: <paste from clipboard>
tag: latest
-
Click
Submit
. -
Click
Deploy Changes
.
All the needed Argo CD resources to deploy your workload will now be created.
- Click on
Workloads
in the left menu. You will now see a list of all Workloads and there status:
- In the workloads list, click on the
Application
link of your workload to see the status of your workload in Argo CD:
The values of a workload can be changed at any time. Changes will automatically be synchronized.