Report this

What is the reason for this report?

How can I use Argo Workflows in a Digital Ocean managed Kubernetes cluster?

Posted on January 28, 2021
wdma

By wdma

I would like to deploy an Argo workflow to my Digital Ocean managed Kubernetes cluster. I am familiar with Argo but new to Digital Ocean. I am starting from the example noted here https://github.com/digitalocean/doks-example, but when I try to apply my Argo workflow, I am getting the following error:

ERRO[2021-01-28T06:03:52.004Z] Create request failed: the server could not find the requested resource (post workflows.argoproj.io) 2021/01/28 06:03:52 Failed to submit workflow: rpc error: code = NotFound desc = the server could not find the requested resource (post workflows.argoproj.io)

What do I need to do to make this work?

Thank you!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Heya,

Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.

The error message you’re seeing generally means that the Kubernetes cluster doesn’t recognize the workflows.argoproj.io resource type. This could be because Argo isn’t properly installed on your DigitalOcean Kubernetes (DOKS) cluster.

To resolve this error, you need to ensure that the Argo Workflows are properly installed. Follow these steps if you haven’t done so:

1. Install Argo CLI on your local machine.

2. Use the Argo CLI to install Argo on your Kubernetes cluster.

There’s a complete guide on installing Argo Workflows in the official Argo Workflows Documentation here.

If you’re sure that Argo Workflows is installed correctly and the issue still persists, it might be a problem with the way your Kubernetes cluster is set up within DigitalOcean. You can refer to the DigitalOcean’s official documentation on how to get started with Kubernetes here.

By checking both the installation of Argo and your Kubernetes configurations within DigitalOcean, you should be able to resolve this issue.

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.