When using Fleet to upgrade the Elastic Agent, Kibana and Elasticsearch needed to bu upgraded first, before the Agent Upgrade becomes available according to the docs.
If I upgrade Kibana/Elasticsearch from 8.11.1 to 8.11.3, the only available Agent upgrade is to version 8.11.2 instead it should be 8.11.3 right?
I found the mentioned site, but unfortunately the workaround does not work, because thh Upgrade Agent button is greyed out (Kibana is running 8.11.4; Agents are running 8.11.3). I assume, that this issue is fixed, when upgrading to the next minor version 8.12.0
You can use the API to request a bulk upgrade as described in the same documenttion.
For example:
POST kbn:/api/fleet/agents/bulk_upgrade
{
"agents": "fleet-agents.policy_id:uuid1-uuid2-uuid3-uuid4 and fleet-agents.agent.version<8.11.4",
"version": "8.11.4"
}
This doesn't quite work, as Kibana wants me to upgrade fleetserver first. If i use a filter criteria fro fleetserver, the error says it cannot upgrade due to not upgraded fleetserver.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.