You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environmental Info:
RKE2 Version:
rke2 version v1.28.3+rke2r2 (cf6c1ae)
go version go1.20.10 X:boringcrypto
Node(s) CPU architecture, OS, and Version:
Linux llm-installer-dev 5.4.0-109-generic #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
single node
Describe the bug:
I found /etc/rancher/rke2/registries.yaml didn't work if $RKE2_HOME/agent/etc/containerd/config.toml.tmpl existed. $RKE2_HOME/agent/etc/containerd/config.toml was overrwritten by the config.toml.tmpl and didn't merge with registries.yaml.
/etc/rancher/rke2/registries.yaml:
The text was updated successfully, but these errors were encountered:
zhenlohuang
changed the title
/etc/rancher/rke2/registries.yaml didn't work if I configured config.toml.tmpl
/etc/rancher/rke2/registries.yaml doesn't work if $RKE2_HOME/agent/etc/containerd/config.toml.tmpl exists
Nov 28, 2023
config.toml.tmpl needs to actually be a template, and not just a copy of config.toml with a few changes made to it. If you don't retain the templating, the registry configuration cannot be rendered into it.
You cannot add arbitrary runtimes to that data structure. That is currently used to enable the auto-detected nvidia container runtimes, although we are working on adding support for detecting more - see k3s-io/k3s#8936
Environmental Info:
RKE2 Version:
rke2 version v1.28.3+rke2r2 (cf6c1ae)
go version go1.20.10 X:boringcrypto
Node(s) CPU architecture, OS, and Version:
Linux llm-installer-dev 5.4.0-109-generic #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
single node
Describe the bug:
I found /etc/rancher/rke2/registries.yaml didn't work if $RKE2_HOME/agent/etc/containerd/config.toml.tmpl existed. $RKE2_HOME/agent/etc/containerd/config.toml was overrwritten by the config.toml.tmpl and didn't merge with registries.yaml.
/etc/rancher/rke2/registries.yaml:
The text was updated successfully, but these errors were encountered: