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

Cannot run experiments in a cluster with only tainted nodes #4998

Open
bjoky opened this issue Dec 17, 2024 · 0 comments
Open

Cannot run experiments in a cluster with only tainted nodes #4998

bjoky opened this issue Dec 17, 2024 · 0 comments
Labels

Comments

@bjoky
Copy link
Contributor

bjoky commented Dec 17, 2024

It is possible to set Tolerations for an experiment but that is not enough to be able to run it in cluster where all nodes have Taints.

The current setting only adds a Toleration to the Workflow manifest, which means that only the pods created by the workflow get Tolerations. But it is also needed for the pods running the experiment.

I have been able to work around it by adding it to the ChaosEngine in the manifest to
.spec.components.runner.tolerations
.spec.experiments[].spec.components.tolerations

What happened:
Experiments didn't run on clusters with Taints.

What you expected to happen:
Setting the Toleration for an experiment in Chaos Studio should be enough for running the experiment.

Where can this issue be corrected? (optional)

How to reproduce it (as minimally and precisely as possible):
Set up a cluster with one node. Set a Taint on that node. Try to run an experiment in that cluster.

Anything else we need to know?:

@bjoky bjoky added the bug label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant