Loading

Upgrade your deployment on Elastic Cloud on Kubernetes (ECK)

The ECK orchestrator can safely perform upgrades to newer versions of the Elastic Stack.

Before you start the upgrade, plan your upgrade, take the upgrade preparation steps, and ensure your ECK version is compatible with the Elastic Stack version you’re upgrading to. If it's incompatible, upgrade your orchestrator first.

ECK ensures that Elastic Stack components are upgraded in the correct order. Upgrades to dependent resources are delayed until that dependency is upgraded. For example, the Kibana upgrade starts only when the associated Elasticsearch cluster has been upgraded.

Check out Nodes orchestration for more information on how ECK manages upgrades and how to tune its behavior.

The upgrade procedure depends on whether you are deploying the Elastic Stack components using resource manifests or the Elastic Stack Helm chart.

  1. In the resource spec file, modify the version field for the desired Elastic Stack version.
  2. Save your changes. The orchestrator will start the upgrade process automatically.

In this example, we're upgrading Elasticsearch and Kibana to 9.2.4 by changing the spec.version field in each component.

If you deploy your Elastic Stack resources using our Helm chart, refer to managing deployments using Helm chart for details on how to perform upgrades with Helm.

Once you've successfully upgraded your deployment, you can upgrade your ingest components, such as Logstash, Elastic Agents, or Beats.