Skip to content

Commit ff49912

Browse files
author
Matthew Wong
committed
Add aws-ebs migration test plan
1 parent 798e155 commit ff49912

File tree

1 file changed

+38
-0
lines changed
  • keps/sig-storage/1487-csi-migration-aws

1 file changed

+38
-0
lines changed

keps/sig-storage/1487-csi-migration-aws/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
<!-- toc -->
66
- [Summary](#summary)
77
- [New Feature Gates](#new-feature-gates)
8+
- [Design Details](#design-details)
9+
- [Test Plan](#test-plan)
10+
- [Prerequisite testing updates](#prerequisite-testing-updates)
11+
- [Unit tests](#unit-tests)
12+
- [Integration tests](#integration-tests)
13+
- [e2e tests](#e2e-tests)
814
- [Production Readiness Review Questionnaire](#production-readiness-review-questionnaire)
915
- [Implementation History](#implementation-history)
1016
<!-- /toc -->
@@ -35,6 +41,38 @@ used as as described in its parent KEP. For all other contents, please refer to
3541
on kubelet and treat AWS EBS CSI migration as already complete. And directly redirect traffic to CSI
3642
driver for all aws ebs related operations.
3743

44+
## Design Details
45+
46+
### Test Plan
47+
48+
[X] I/we understand the owners of the involved components may require updates to
49+
existing tests to make this code solid enough prior to committing the changes necessary
50+
to implement this enhancement.
51+
52+
##### Prerequisite testing updates
53+
54+
No prerequisite tests are needed.
55+
56+
##### Unit tests
57+
58+
See https://github.com/kubernetes/csi-translation-lib/blob/master/plugins/aws_ebs_test.go.
59+
60+
- `k8s.io/csi-translation-lib/plugins/aws_ebs.go`: `2022-06-17` - `52.3`
61+
62+
##### Integration tests
63+
64+
N/A
65+
66+
##### e2e tests
67+
68+
The [Kubernetes storage e2e
69+
tests](https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external)
70+
are run by an
71+
[aws-ebs-csi-driver](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/tree/master/tests/e2e-kubernetes)
72+
job: https://testgrid.k8s.io/provider-aws-ebs-csi-driver#pull-migration-test.
73+
The tests create in-tree volume plugin objects like StorageClasses with
74+
`provisioner: kubernetes.io/aws-ebs` and validate using metrics that all volume
75+
operations went to the CSI driver.
3876

3977
## Production Readiness Review Questionnaire
4078

0 commit comments

Comments
 (0)