k0s
k0s copied to clipboard
Add basic Windows smoketest
Description
The tests setups a WSL Linux on Windows runner which allow us to run the CP (with worker enabled) on the Linux node. The Windows host is used as a worker node.
There's bunch of preliminary steps in order to configure networking, WSL and other stuff so that the test would be as stable as possible. The current challenge is that when Calico boots up on the Windows side, it'll create the overlay network which in turn creates bit of a flip on the general networking.
Fixes #6756
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update
How Has This Been Tested?
- [ ] Manual test
- [x] Auto test added
Checklist
- [x] My code follows the style guidelines of this project
- [x] My commit messages are signed-off
- [x] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
- [ ] I have checked my code and corrected any misspellings
This pull request has merge conflicts that need to be resolved.
"k0s status" for windows is now in main, maybe you can use it here.