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 container images and add the repository of the blue image to your clipboard. Remember that the tag of the blue image we created is main
.
You can create a workload from the developer catalog:
-
Go to Catalog in the left menu and select the
k8s-deployment
template. -
Click on the Values tab.
-
Set the name to blue.
-
Leave the Auto image updater to Disabled.
-
In the workload
values
, change the following parameters:image: repository: <paste from clipboard> tag: main
-
Click Submit. The App Platform will now create an Argo CD application to deploy the workload.
-
Click on Workloads in the left menu. You will now see a list of all workloads and their 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.
Updated 2 days ago