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

nodeSelector for all pods #16

Open
gfthybridlabs opened this issue Feb 3, 2021 · 1 comment
Open

nodeSelector for all pods #16

gfthybridlabs opened this issue Feb 3, 2021 · 1 comment
Labels
🐛 bug Something isn't working

Comments

@gfthybridlabs
Copy link

Hi,

Using EBS volumes in a multi-AZ cluster causes problems with pods not scheduled in the same zone.

I tried to get around this by setting up different storageclasses with a topology value limiting it to a known AZ based on the name i.e.
kh-check-ew2 = topology.ebs.csi.aws.com/zone=eu-west-2a

Then I put a nodeSelector in the podSpec of the khcheck object based on the same for the nodes.

The main pod has the nodeSelector but the init/check pod don't pick up that value and therefore go into different AZ's and cannot mount the volume.

Is there anyway to get them to use the nodeSelector labels ?

Many thanks.

@github-actions
Copy link

github-actions bot commented Feb 3, 2021

👋 Welcome to Kuberhealthy Storage Check. Thanks for opening your first issue.

@mgoodhart5 mgoodhart5 added the 🐛 bug Something isn't working label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants