Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

AWS EBS CSI Driver: Add node_affinity and tolerations. #1393

Merged
merged 2 commits into from
Feb 23, 2021

Conversation

surajssd
Copy link
Member

@surajssd surajssd commented Feb 23, 2021

  • Update component from 0.7.0 to 0.9.0.

  • Remove the component specific change of allowing a SC to be default
    using annotation. Use the helm chart's default mechanism to provide
    storage class.

  • This PR adds two params to the component viz. node_affinity and
    tolerations.

  • Add unit tests for the same.

  • Add documentation to configuration reference docs.

Fixes: #1385

@surajssd surajssd requested a review from ipochi February 23, 2021 07:48
@surajssd surajssd force-pushed the surajssd/aws-ebs-driver-affinity-tolerations branch from 68529ac to 449405a Compare February 23, 2021 09:24
invidian
invidian previously approved these changes Feb 23, 2021
Copy link
Member

@invidian invidian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if Retain is a good default policy, but time will tell. LGTM

Comment on lines +181 to +188
inputConfig: `component "aws-ebs-csi-driver" {
tolerations {
key = "lokomotive.io"
operator = "Equal"
value = "awesome"
effect = "NoSchedule"
}
}`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation is interesting in those test cases 😄 But I'm not sure what would be the right way to format it.

- This commit updates the component to version from `0.7.0` to `0.9.0`.

- Remove the component specific change of allowing a SC to be default
  using annotation. Use the helm chart's default mechanism to provide
  storage class.

- Change the default reclaim policy in StorageClass to `Retain`.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
- This commit adds two params to the component viz. `node_affinity` and
  `tolerations`.

- Add unit tests for the same.

- Add documentation to configuration reference docs.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
@surajssd surajssd force-pushed the surajssd/aws-ebs-driver-affinity-tolerations branch from 449405a to 53341f1 Compare February 23, 2021 13:45
@surajssd surajssd merged commit 072cefc into master Feb 23, 2021
@surajssd surajssd deleted the surajssd/aws-ebs-driver-affinity-tolerations branch February 23, 2021 16:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS EBS Driver: Add node selector / node affinity and tolerations
2 participants