autopilot update does not import new images if k0s version remains the same #4316
Closed
4 tasks done
Labels
enhancement
New feature or request
Before creating an issue, make sure you've checked the following:
Platform
Version
v1.29.3+k0s.0
Sysinfo
`k0s sysinfo`
What happened?
When performing an autopilot update that maintains the same k0s version, but includes updated application images for helm charts, the new images are not imported unless k0s controller is restarted. As a result, pods for the helm charts will fail to pull the new images unless it's restarted by the user.
Steps to reproduce
Expected behavior
The new images should be imported before the plan is marked as completed.
Actual behavior
k0s controller is not restarted, so the images are not imported until the user does this themselves.
Screenshots and logs
Autopilot Plan:
The updated image bundle is pulled from the source file server and is present in
/var/lib/k0s/images
. However, runningjournalctl -u k0scontroller.service
shows that images have not been imported after the plan is marked as completed. Upon restartingk0scontroller.service
, we then see the imported image logs such as:Additional context
Is this intentional behavior? If so, what would the recommended procedure be for doing an autopilot update that maintains the same k0s version, but depends on new images for Helm charts?
The text was updated successfully, but these errors were encountered: