Skip to content
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

Enable Docker Tests to Restart K3s service #11625

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

No branches or pull requests

1 participant