Deploy workloads using Otomi
In the previous 2 parts we have explained how to deploy a workload with a BYO manifest using Kubectl and how to deploy a workload with a BYO manifest using ArgoCD in Otomi. In this part we'll deploy a regular workload (a Kubernetes Deployment) using the Otomi Workloads feature.
When creating workloads in Otomi, the specifications (URL and path) and the values of a Helm chart is stored in
otomi-values and then used to automatically create the ArgoCD resources to deploy the workload.
As a developer, you'll have the following options to deploy serverless workloads:
- BYO Knative service manifest and deploy it using kubectl or ArgoCD
- Create workloads with the deployment Helm chart in
- Create workloads with the Knative Helm chart in
Creating a Regular Workload
You can create a workload to deploy your own Helm chart, or you can use one of the
otomi-charts Helm charts. In this case we'll use the deployment chart in the
Workloadsin the right menu and click on
- Enter a name for the workload
- Fill in the image to deploy:
- Fill in the tag of the image to deploy:
Review the values. Here you can add more values supported by the otomi-charts
Now click on
After a few minutes, Otomi will have created all the needed ArgoCD resources to deploy your workload. In the workloads list, click on the
Application link of your workload to see the status of your workload.
The values of a workload can be changed at any time. Changes will automatically be deployed.