I have an AKS cluster and I have installed Elastic Agents on the cluster by following this documentation: Run Elastic Agent on Azure AKS managed by Fleet | Fleet and Elastic Agent Guide [8.17] | Elastic
Recently, I tried to upgrade the Elastic Agents by following Upgrade Fleet-managed Elastic Agents | Fleet and Elastic Agent Guide [8.17] | Elastic, but the 'Upgrade agent' button is disabled.
I tried to uninstall the current Elastic Agent and install the latest one, however the new one was unable to connect to the Fleet. After I checked the log from the Elastic Agent pod, I suspect that the local Elastic Agent data from the previous version left in the AKS node is the cause.
Is there any suggested way to upgrade the Elastic Agents installed in AKS?
Thank you!