K3S service is out of date
TL;DR
A new version is out (1.24, I guess?) and introduces sudo k3s kubectl -n kubernetes-dashboard create token admin-user
to obtain the token for the dashboard.
This is a drop-in replacement in k3s.py
.
Disclaimer: I only tested if the deployment is successful; I don't know if the dashboard is usable.
Otherwise we get an exception as the current command fails.
Related
K3S offers a way to setup a given version of its software, it might be interesting to introduce a way to set up this environment variable in the future to mitigate cases such as this one.