This message was deleted.
# k3s
a
This message was deleted.
c
You can restore it just by pointing at the same DB, but you do need the token in order to use it.
w
yeah lost tokens
solution was to set deleted column for
/bootstrap/*
kine db entry to 1.
Restarted k3s and it'll regenerate the token
is there something i'm missing?
can i pull the key out of the db?
c
No, you cannot. The CA certificates and service account tokens and secrets encryption configuration (if enabled) are all encrypted with the token and will all be lost if you delete that key.
New ones will be generated but you might see stuff fail to come up property
If you're basically starting over with no secrets encryption and no existing nodes or pods it's probably ok.
w
Ok yeah partially up
:(
Thanks
408 Views