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 nodeaffinity to prevent scheduling on virtual-kubelet nodes #472

Closed
aramase opened this issue Apr 13, 2021 · 2 comments
Closed

Add nodeaffinity to prevent scheduling on virtual-kubelet nodes #472

aramase opened this issue Apr 13, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers helm

Comments

@aramase
Copy link
Member

aramase commented Apr 13, 2021

Describe the solution you'd like
[A clear and concise description of what you want to happen.]
Add nodeaffinity to prevent the CSI driver pods from being scheduled on virtual-kubelet nodes.

Using type: virtual-kubelet label.

affinity:
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
        - key: type
          operator: NotIn
          values:
          - virtual-kubelet

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
We should approach this by adding an affinity field in the values.yaml and then setting this affinity by default in the values file.

Environment:

  • Secrets Store CSI Driver version: (use the image tag):
  • Azure Key Vault provider version: (use the image tag):
  • Kubernetes version: (use kubectl version):
  • Cluster type: (e.g. AKS, aks-engine, etc):
@aramase aramase added enhancement New feature or request good first issue Good for newcomers helm labels Apr 13, 2021
@nilekhc
Copy link
Contributor

nilekhc commented Apr 22, 2021

I am working on this

@nilekhc nilekhc mentioned this issue Apr 23, 2021
5 tasks
@aramase
Copy link
Member Author

aramase commented Apr 23, 2021

Closed with #486

@aramase aramase closed this as completed Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers helm
Projects
None yet
Development

No branches or pull requests

2 participants