Customizing the Containerd state directory #3014
Unanswered
BayanAzima
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Customizing the containerd configuration is covered in the docs: |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
I would like to change containerd's state directory in its config.toml from "/run/containerd" to "/apps/rancher/containerd" since this mount has more space for ephemeral-volumes.
docs including state property: https://github.com/containerd/containerd/blob/master/docs/man/containerd-config.toml.5.md
this is where i think the value is set: https://github.com/k3s-io/k3s/blob/master/pkg/agent/config/config.go#L455
Describe the solution you'd like
Is it possible to configure k3s v1.19.7+k3s1 with a new state location. Also could anyone provide me with high level steps to make the change on an already existing cluster.
Describe alternatives you've considered
Nothing atm, I was curious on what you all recommend i do to change containerd's state directory.
Additional context
running k3s v1.19.7+k3s1
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions