Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pass parameters to config.toml.tmpl files #5087

Closed
liyang516 opened this issue Nov 30, 2023 · 0 comments
Closed

How to pass parameters to config.toml.tmpl files #5087

liyang516 opened this issue Nov 30, 2023 · 0 comments

Comments

@liyang516
Copy link

I refer to https://docs.rke2.io/advanced and https://github.com/k3s-io/k3s/blob/master/pkg/agent/templates/templates_linux.go docs,
I know /var/lib/rancher/rke2/agent/etc/containerd/config.toml.tmpl is the customization file, but I don't know how to pass parameters to config.toml.tmpl files.

For example:

[plugins."io.containerd.grpc.v1.cri"]
{{- if .DisableCgroup}}
  disable_cgroup = true
{{end}}

So where or how to set the value of "DisableCgroup" ?

@rancher rancher locked and limited conversation to collaborators Nov 30, 2023
@brandond brandond converted this issue into discussion #5088 Nov 30, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant