Skip to content

default storage is overwritten on k3s restart #293

Locked Answered by timothystewart6
n0cloud asked this question in Questions
Discussion options

You must be logged in to vote

This is actually the default behavior of k3s. Check here for the manifest: /var/lib/rancher/k3s/server/manifests/

All of the manifests here are reapplied each time the k3s service restarts. I think you modify it there.

If you want to disable it when installing, add this arg --no-deploy local-storage

Or you can delete the storage class as well as the manifest

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by timothystewart6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #292 on April 28, 2023 23:15.