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

Add nodeSelectors and/or nodeAffinity/anti-affinity #8

Closed
dgzlopes opened this issue Feb 19, 2021 · 0 comments
Closed

Add nodeSelectors and/or nodeAffinity/anti-affinity #8

dgzlopes opened this issue Feb 19, 2021 · 0 comments

Comments

@dgzlopes
Copy link
Member

The Kubernetes scheduler can be constrained to place a pod on particular nodes using few different options. In your POD specification, there are many ways in which you declare a POD should be dedicated to specific nodes, one of them is nodeSelectors and another one is nodeAffinity/anti-affinity.

I would like to constrain where I can place k6 runners. This would open up a lot of fancy possibilities.

For example:

  • Only use nodes from certain zones (and use Separate to spread the runners).
  • Run my test on some type of instance (e.g. M4).
  • Run my test on an isolated node pool of my cluster.
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