Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: better error message for multiple workflow controllers running #13760

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gregsheremeta
Copy link
Contributor

Motivation

Per various GitHub issues and personal experience, the "expected < 2 pods, got 2 - this is a bug" error message mostly happens these days when users accidentally have multiple workflow controllers running. This is usually caused by a bad install, e.g. installing a cluster-wide Argo Workflows alongside a namespace-scoped one, and having both controllers reconciling Workflows.

Modifications

Improve the error message to advise users to check for this.

Verification

I didn't verify this, since it's just a text change.

Per various GitHub issues and personal experience, the "expected < 2
pods, got 2 - this is a bug" error message mostly happens these days
when users accidentally have multiple workflow controllers running.
This is usually caused by a bad install, e.g. installing a cluster-wide
Argo Workflows alongside a namespace-scoped one, and having both
controllers reconciling Workflows.

Improve the error message to advise users to check for this.

Signed-off-by: Greg Sheremeta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants