gcp-compute-persistent-disk-csi-driver
gcp-compute-persistent-disk-csi-driver copied to clipboard
Add support for running tests on confidential VMs that use NVMe
What type of PR is this? /kind cleanup
What this PR does / why we need it:
This adds support to run e2e tests in a configuration that uses NVMe devices. Currently the e2e tests default to using n2
machine family, which uses SCSI by default. Passing in the --enable-confidential-compute
flag is a cost effective way to use NVMe (an alternative being running against c3-standard-4
machine type, but this requires additional test refactoring, or skipping tests, as there are restrictions on disk types).
To support toggling with just the binary flag, this also updates the defaults of the test to use n2d
as well as a Ubuntu guest OS image instead of Debian.
Support for running "[NVMe]" tagged tests are presubmit will be added in https://github.com/kubernetes/test-infra/pull/32214. These can also be run locally with:
./test/run-e2e-local.sh --enable-confidential-compute
Does this PR introduce a user-facing change?:
NONE
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: pwschuurman
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [pwschuurman]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
/assign @Sneha-at
/lgtm
/retest
@pwschuurman: The following test failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
pull-gcp-compute-persistent-disk-csi-driver-e2e | eaec6d5ca8515d6582ed9275bac7eba84e4ea273 | link | true | /test pull-gcp-compute-persistent-disk-csi-driver-e2e |
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.
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. I understand the commands that are listed here.
PR needs rebase.
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.