Open yofeng2021 opened 7 months ago
What does your job spec look like? the system-upgrade-controller itself doesn't care about any paths on the nodes, it sounds like your issue is with the job or job pod?
I also ran into this apply-system-agent-upgrader error, which I found described here:
mkdir: can't create directory '/host/var/lib/rancher/': No such file or directory
I wasn't able to grok the right way to have Rancher utilize a different filesystem for /var/lib/rancher, but ChatGPT encouraged me to try using a "bind mount" instead of a symlink, and the apply-system-agent-upgrader job now seems to succeed.
I hava created a sysmbol link to /var/lib/rancher, but container cant recgonise a symbol link. how can i fix this? can i mount an additional volume for the job by changing the system-upgrade-controller crd? or there are some other methods not need to change the crd?