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

KEP-1487: Add aws-ebs migration test plan #3411

Merged
merged 1 commit into from
Jun 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions keps/sig-storage/1487-csi-migration-aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<!-- toc -->
- [Summary](#summary)
- [New Feature Gates](#new-feature-gates)
- [Design Details](#design-details)
- [Test Plan](#test-plan)
- [Prerequisite testing updates](#prerequisite-testing-updates)
- [Unit tests](#unit-tests)
- [Integration tests](#integration-tests)
- [e2e tests](#e2e-tests)
- [Production Readiness Review Questionnaire](#production-readiness-review-questionnaire)
- [Implementation History](#implementation-history)
<!-- /toc -->
Expand Down Expand Up @@ -35,6 +41,38 @@ used as as described in its parent KEP. For all other contents, please refer to
on kubelet and treat AWS EBS CSI migration as already complete. And directly redirect traffic to CSI
driver for all aws ebs related operations.

## Design Details

### Test Plan

[X] I/we understand the owners of the involved components may require updates to
existing tests to make this code solid enough prior to committing the changes necessary
to implement this enhancement.

##### Prerequisite testing updates

No prerequisite tests are needed.

##### Unit tests

See https://github.com/kubernetes/csi-translation-lib/blob/master/plugins/aws_ebs_test.go.

- `k8s.io/csi-translation-lib/plugins/aws_ebs.go`: `2022-06-17` - `52.3`

##### Integration tests

N/A

##### e2e tests

The [Kubernetes storage e2e
tests](https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external)
are run by an
[aws-ebs-csi-driver](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/tree/master/tests/e2e-kubernetes)
job: https://testgrid.k8s.io/provider-aws-ebs-csi-driver#pull-migration-test.
The tests create in-tree volume plugin objects like StorageClasses with
`provisioner: kubernetes.io/aws-ebs` and validate using metrics that all volume
operations went to the CSI driver.

## Production Readiness Review Questionnaire

Expand Down