Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enable Docker Tests to Restart K3s service #11625

Closed
dereknola opened this issue Jan 16, 2025 · 0 comments
Closed

Enable Docker Tests to Restart K3s service #11625

dereknola opened this issue Jan 16, 2025 · 0 comments
Assignees

Comments

@dereknola
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, the k3s image produced by our build system only allows single execution of the k3s XXXX command on docker run or docker exec. This makes it impossible to test more complex scenarios such as Snapshot and Restore or Secrets Encryption or Cert Rotation.

Describe the solution you'd like
Use the systemd-node image instead of the k3s image to enable a "vm-lite" environment where k3s is run as a regular systemd service and can be stopped and restarted at will.

Describe alternatives you've considered

We already have vagrant VM tests to handle more complex clusters, but we are limited on how big those can get with the current GHA runners.

Additional context

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Done Issue
Development

No branches or pull requests

2 participants