-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add script to run e2e tests in kind cluster #44
base: main
Are you sure you want to change the base?
Conversation
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hairyhum The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
||
create_kind_cluster() { | ||
# setup kind cluster | ||
kind create cluster \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install kind
and kubectl
first would be great.
test/run_e2e_test.sh
Outdated
install_resources() { | ||
kubectl apply -k test/test_resources | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need this, for setup we basically need to:
- Install CSI driver with snapshot-metadata service support along with the external-snapshot-metadata sidecar container
- A test app with volume mounted
We can setup this in a follow up PRs and focus on setting up cluster in this PR
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-sigs/prow repository. |
This is a skeleton script to run e2e tests in kind cluster.
Currently just the skeleton and will need configuration for things like running in specific k8s versions.
@carlbraganza @PrasadG193 what else do we need to set up the test? Do we need to build a custom version of K8s?