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

NodePlacement or Toleration/NodeSelector not working #572

Open
cristian98149 opened this issue Jul 19, 2023 · 1 comment
Open

NodePlacement or Toleration/NodeSelector not working #572

cristian98149 opened this issue Jul 19, 2023 · 1 comment

Comments

@cristian98149
Copy link

Describe the bug
NodePlacement or Toleration/NodeSelector don't affect argocd resources.

Expected behavior
I've already deployed ArgoCD using GitOps operator on default nodes.

Now I need to move ArgoCD resources on dedicated nodes that have a taint and a label.

I've tried to use NodePlacement field in ArgoCD resource template adding the toleration (as indicated here). It takes the toleration but nothing happens and resources remain on default nodes.

Also, I've tried to set toleration inside GitOps Service resource and it works but just for 2 deployment resources: kam and cluster. Others resources (argocd-repo-server, application-controller, etc..) are not affected by this change. This is indicated here.

How can I reach my goal?

Thank you.

@dverbeek84
Copy link

Same issue here, and i also found the problem.
There is a default nodeselector in place:

nodeSelector: kubernetes.io/os: linux machine.openshift.io/cluster-api-machineset: cl01-worker-0

but our infra nodes are a different machine set called cl01-infra-0

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

No branches or pull requests

2 participants