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
Before creating an issue, make sure you've checked the following:
You are running the latest released version of k0s
Make sure you've searched for existing issues, both open and closed
Make sure you've searched for PRs too, a fix might've been merged already
You're looking at docs for the released version, "main" branch docs are usually ahead of released versions.
Platform
any
Version
v1.30.2+k0s
Sysinfo
`k0s sysinfo`
➡️ Please replace this text with the output of `k0s sysinfo`. ⬅️
What happened?
I trying to update the air-gapped cluster by creating a new controller and removing the old one. But the old controller generates clusterconfig and lists all the images explicitly, so the new one also tries to use them and fails.
Steps to reproduce
Create a cluster with --enable-dynamic-config and --enable-worker, k0s v1.29.* and k0s config like this
spec:
images:
default_pull_policy: Never
network:
nodeLocalLoadBalancer:
enabled: true
Create a new machine with k0s v1.30.* and join the cluster
Once the machine joins the cluster it will try to get the old image versions, since they are listed in the dynamic config
Before creating an issue, make sure you've checked the following:
Platform
Version
v1.30.2+k0s
Sysinfo
`k0s sysinfo`
What happened?
I trying to update the air-gapped cluster by creating a new controller and removing the old one. But the old controller generates clusterconfig and lists all the images explicitly, so the new one also tries to use them and fails.
Steps to reproduce
--enable-dynamic-config
and--enable-worker
, k0s v1.29.* and k0s config like thisExpected behavior
The new machine uses a new images
Actual behavior
The new machine uses old images
Screenshots and logs
No response
Additional context
The reason for this is that we check and strip default values in the config inaccurately:
https://github.com/k0sproject/k0s/blob/main/pkg/apis/k0s/v1beta1/clusterconfig_types.go#L98
The text was updated successfully, but these errors were encountered: