Unattended upgrade for kURL


Is it possible to upgrade kURL instances and auto-accept all prompts? For big upgrade jumps there can be 5 or more prompts spaced a few minutes apart. This can slow down testing, and also is an impediment to customers that follow CIS standard or similar who have short timeouts on SSH inactivity.

Is there a way to do unattended upgrades?

Unfortunately there is no way of doing a fully unattended upgrade as in multi-node cluster users have to actively run commands on different nodes. You can try to run the upgrade using the “yes” flag, this should confirm most if not all prompts (depending on the type of upgrade being executed).

As an example:

curl https://kurl.sh/latest | sudo bash -s yes
1 Like