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

Update sidecars to newer version #707

Merged

Conversation

AndyXiangLi
Copy link
Contributor

@AndyXiangLi AndyXiangLi commented Jan 27, 2021

Is this a bug fix or adding new feature?
Fixes #604
What is this PR about? / Why do we need it?
Continue from PR #596 and update sidecar version in both helm and kustomization
** What test has been done
Validate sidecar functionality in ARM node
Validate sidecar functionality in AMD node
Kube version: 1.18

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 27, 2021
@k8s-ci-robot
Copy link
Contributor

Hi @AndyXiangLi. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 27, 2021
@wongma7
Copy link
Contributor

wongma7 commented Jan 27, 2021

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 27, 2021
@coveralls
Copy link

coveralls commented Jan 27, 2021

Pull Request Test Coverage Report for Build 1506

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 81.196%

Totals Coverage Status
Change from base Build 1486: 0.0%
Covered Lines: 1697
Relevant Lines: 2090

💛 - Coveralls

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 28, 2021
@AndyXiangLi AndyXiangLi changed the title WIP: update csi provisioner version to v2.1.0 WIP: update sidecars to newer version Jan 28, 2021
@AndyXiangLi AndyXiangLi force-pushed the update-arm-image-version branch 4 times, most recently from 87b7f80 to 651a015 Compare January 28, 2021 17:50
@AndyXiangLi
Copy link
Contributor Author

/test pull-aws-ebs-csi-driver-e2e-single-az

1 similar comment
@AndyXiangLi
Copy link
Contributor Author

/test pull-aws-ebs-csi-driver-e2e-single-az

@AndyXiangLi
Copy link
Contributor Author

/test pull-aws-ebs-csi-driver-e2e-single-az

@@ -3,7 +3,7 @@ appVersion: "0.8.1"
name: aws-ebs-csi-driver
description: A Helm chart for AWS EBS CSI Driver
version: 0.8.2
Copy link
Contributor

Choose a reason for hiding this comment

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

the version should also be bumped as technicaslly this is a new helm chart with new YAMLs

It's fine if the helm chart version goes out of sync with the driver appVersion (it already is)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi Matthew, should we bump the driver version to 0.9.0?

Copy link
Contributor

Choose a reason for hiding this comment

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

hmm yes that's a good idea, never mind then, let's leave version untouched for now.

Since there is already demand, we can release driver 0.9.0 + helm chart 0.9.0 later, after this merges.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree with @wongma7. We should just bump to 0.8.3.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Roger, so I will just update chart version to 0.8.3 in this PR and we can sync the driver version and chart version later(in 0.9.0 release)

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 28, 2021
@k8s-ci-robot k8s-ci-robot removed the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jan 28, 2021
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 28, 2021
@AndyXiangLi AndyXiangLi changed the title WIP: update sidecars to newer version Update sidecars to newer version Jan 28, 2021
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 28, 2021
snapshotterImage:
repository: quay.io/k8scsi/csi-snapshotter
repository: k8s.gcr.io/sig-storage/csi-snapshotter
Copy link
Contributor

Choose a reason for hiding this comment

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

We need at least 3.0.0 for this one it seems: kubernetes-csi/external-snapshotter#461

Copy link
Contributor

Choose a reason for hiding this comment

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

@wongma7 maybe we should get rid of the snapshotter before merging this one. Not sure which one is less effort, but this would be a throw-away effort.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi Ayberk, just updated snapshotter sidecar and controller to version 3.0.3 and validated they are functioning as expected. Maybe we can retire snapshotter in a separate PR

@AndyXiangLi AndyXiangLi force-pushed the update-arm-image-version branch 2 times, most recently from 98655e5 to 5da4ffb Compare January 29, 2021 17:41
docs/README.md Outdated
@@ -109,6 +109,8 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes/csi-api/release-1
```

#### Deploy driver
Latest master branch only supports driver deployment on kubernetes version >= 1.17
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make this more generic? I'm thinking something like "Please see the compatibility matrix above before you deploy the driver". So we don't have to keep updating this part as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@ayberk
Copy link
Contributor

ayberk commented Jan 29, 2021

/lgtm
/approve

Great work! We're finally officially supporting arm without workarounds :)

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 29, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AndyXiangLi, ayberk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 29, 2021
@k8s-ci-robot k8s-ci-robot merged commit 511dd1c into kubernetes-sigs:master Jan 29, 2021
@ajaykmis
Copy link

@ayberk @AndyXiangLi - Thanks for merging this!

Did someone validate volume snapshotting with this on Arm64? Do we now use the alpha overlay or stable/arm64 to install the EBS CSI driver.

  • Ajay

@AndyXiangLi
Copy link
Contributor Author

AndyXiangLi commented Jan 29, 2021

Hi @ajaykmis
Yes, I validated volume snapshotter is working on Arm64, and I recommend you to use helm to install driver for now. The arm overlay is same as stable overlay after this change and we will remove arm overlay soon to reduce confusion.
you can refer to helm part from here

@ajaykmis
Copy link

Thanks @AndyXiangLi

I see this from the doc:
helm upgrade --install aws-ebs-csi-driver
--namespace kube-system
--set enableVolumeScheduling=true
--set enableVolumeResizing=true
--set enableVolumeSnapshot=true
aws-ebs-csi-driver/aws-ebs-csi-driver

a couple of questions:

  1. what would be this path ${your_chart_path}?
  2. does helm take care of choosing the right overlay? so can I use the same helm command to install EBS driver on both ARM and x86 clusters?

@AndyXiangLi
Copy link
Contributor Author

AndyXiangLi commented Jan 29, 2021

@ajaykmis Sorry I should not introduce confusion here so I just remove the second command from previous comment.

  1. If you have this project on your machine, your_chart_path = ${project_path}/charts/aws-ebs-csi-driver
  2. Yes you can run same command on ARM and x86 clusters as all the images we are using are multiarch supported after this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EBS CSI Driver does not work on arm64 based instances
6 participants