-
Notifications
You must be signed in to change notification settings - Fork 105
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
Support for using Kubernetes-SIGs Kwok cluster simulator #214
Comments
@ vladimirvivien I am interested in working on this feature. |
I am happy to see that the e2e-framework will support kwok 🎉🎉🎉 I have a small requirement, I want to refactor e2e for kwok/kwokctl with e2e-framework, and I need e2e-framework to be able to support modifications to the kwokctl dependency version, rather than like the kind version. |
@wzshiming The kind version is configurable too. Just that it also defaults to a specific version e2e-framework/support/kind/kind.go Lines 45 to 48 in 06323f4
cluster := kind.NewCluster(name)
cluster.WithVersion("0.24.0")
kubeconfig, err := cluster.Create()
// do things after |
Thank you, I see! |
When this is done it would be like an Inception: Kwok using e2e-framework and e2e-framework supports Kwok! 🤣 Love it! |
@vladimirvivien @wzshiming @harshanarayana I have opened #239 for this feature. please review. My apologies for delay in sending a PR |
@vladimirvivien |
@wzshiming Absolutely 👍 Please open a PR for contribution. |
Proposal
kwok is a Kubernetes cluster simulator, from Kubernetes-SIGs, that can start fully Kubernetes API-compatible cluster. This project should investigate how e2e-framework can leverage Kwok for end-to-end testing. Currently, the project already has environment functions that can start/stop Kind. It would be useful to create environment functions to start/configure/stop kwok clusters at test time for quickstart end-to-end tests.
The following is an illustrative mock up of what that support could look like. This example would create a simulated cluster, run the tests, then teardown that cluster.
References
The text was updated successfully, but these errors were encountered: