https://rancher.com/ logo
#k3s
Title
# k3s
a

adamant-kite-43734

03/23/2023, 1:19 AM
This message was deleted.
c

creamy-pencil-82913

03/23/2023, 1:48 AM
You can restore it just by pointing at the same DB, but you do need the token in order to use it.
w

wonderful-rain-13345

03/23/2023, 2:12 AM
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

creamy-pencil-82913

03/23/2023, 7:40 AM
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

wonderful-rain-13345

03/23/2023, 11:28 AM
Ok yeah partially up
:(
Thanks
378 Views