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 EBS CSI driver for EKS #97

Merged
merged 2 commits into from
Jul 14, 2023
Merged

Conversation

rozcietrzewiacz
Copy link
Contributor

Without the EBS CSI driver, the default StorageClass is no longer sufficient on recent EKS - persistent volumes cannot be provisioned.

Description of your changes

This change adds the EBS "Addon" for EKS and attaches the default AWS Policy for EBS CSI Driver to the cluster's nodegroup. Note: this just one of the ways it can be done, but others are not as straightforward to implement currently. A safer way would be to use IRSA, but that has not yet been implemented (see #85)

Ref: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/docs/install.md

Fixes #96

How has this code been tested

  • Created a cluster with modified xeks.aws.platformref.upbound.io composition
  • Was able to trigger PV creation through PVC in the provisioned EKS cluster.

@Upbound-CLA
Copy link

Upbound-CLA commented Feb 7, 2023

CLA assistant check
All committers have signed the CLA.

@rozcietrzewiacz
Copy link
Contributor Author

This uses a solution discussed in crossplane-contrib/provider-upjet-aws#149 (comment)

@ytsarev
Copy link
Member

ytsarev commented Feb 13, 2023

/test-examples

@ytsarev
Copy link
Member

ytsarev commented Feb 13, 2023

/test-examples="examples/cluster-claim.yaml"

@ytsarev ytsarev mentioned this pull request Feb 13, 2023
@ytsarev
Copy link
Member

ytsarev commented Mar 21, 2023

/test-examples="examples/cluster-claim.yaml"

@ytsarev
Copy link
Member

ytsarev commented Mar 24, 2023

/test-examples

1 similar comment
@ytsarev
Copy link
Member

ytsarev commented Apr 4, 2023

/test-examples

@ytsarev
Copy link
Member

ytsarev commented Apr 26, 2023

@rozcietrzewiacz Thanks a lot for this contribution! Could you please rebase with main to include #103?

Without the EBS CSI driver, the default `StorageClass` is no longer sufficient on recent EKS - persistent volumes cannot be provisioned. This change adds the EBS "Addon" for EKS and attaches the default AWS Policy for EBS CSI Driver  to the cluster nodegroup. Note: this just one of the ways it can be done, but others are not as straightforward to implement currently.

Ref: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/docs/install.md
@haarchri
Copy link
Member

close and reopen for test run

@haarchri haarchri closed this Jul 11, 2023
@haarchri haarchri reopened this Jul 11, 2023
Copy link
Member

@haarchri haarchri left a comment

Choose a reason for hiding this comment

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

thanks for contribution - i rebased your branch @rozcietrzewiacz and tested locally LGTM

Signed-off-by: Christopher Haar <christopher.haar@upbound.io>
@haarchri
Copy link
Member

/test-examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EKS cluster is missing EBS CSI addon
5 participants