|
5 | 5 | <!-- toc -->
|
6 | 6 | - [Summary](#summary)
|
7 | 7 | - [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) |
8 | 14 | - [Production Readiness Review Questionnaire](#production-readiness-review-questionnaire)
|
9 | 15 | - [Implementation History](#implementation-history)
|
10 | 16 | <!-- /toc -->
|
@@ -35,6 +41,38 @@ used as as described in its parent KEP. For all other contents, please refer to
|
35 | 41 | on kubelet and treat AWS EBS CSI migration as already complete. And directly redirect traffic to CSI
|
36 | 42 | driver for all aws ebs related operations.
|
37 | 43 |
|
| 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. |
38 | 76 |
|
39 | 77 | ## Production Readiness Review Questionnaire
|
40 | 78 |
|
|
0 commit comments