[SPARK-55200][K8S][TESTS] Add RancherDesktopBackend for K8s integration tests
#53978
+49
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR aims to add
RancherDesktopBackendfor K8s integration tests in addition to the existingminikube,docker-desktop, andcloud-backend. Like the other backends, this PR doesn't aim to make all test cases passes. In other words,minikube(the default backend) is the only test backend for all test coverage.Why are the changes needed?
Rancher Desktop is another open-source (Apache 2.0 license) project that brings Kubernetes and container management to the desktop. It runs on Windows, macOS and Linux. Unlike
Docker Desktop, this is available freely for all purposes.It would be great if we can support
Rancher Desktopas an alternative developer tools.Does this PR introduce any user-facing change?
No behavior change.
How was this patch tested?
Pass the CIs and manual tests.
This PR intentionally show the above result including one test case failure which we can simply exclude it by
--exclude-tags pv. Currently, the above example used--exclude-tags minikube,r,local,command.docker-desktopandcloudbackends also have a limited test coverage and needs similar exclusion because some test cases are written for specific backends.Was this patch authored or co-authored using generative AI tooling?
No.