Type to search.

Pod update strategy for Logstash on ECK

ECK

Elastic Cloud on Kubernetes extends Kubernetes orchestration capabilities to allow you to deploy and manage components of the Elastic Stack.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

The operator takes a Pod down to restart and applies a new configuration value. All Pods are restarted in reverse ordinal order.

When updateStrategy is not present in the specification, it defaults to the following:

YAML
spec:
  updateStrategy:
    type: "RollingUpdate"
    rollingUpdate:
      partition: 0
      maxUnavailable: 1
  1. The RollingUpdate strategy will update Pods one by one in reverse ordinal order.
  2. This means that all the Pods from ordinal Replicas-1 to partition are updated . You can split the update into partitions to perform canary rollout.
  3. This ensures that the cluster has no more than one unavailable Pod at any given point in time.
YAML
spec:
  updateStrategy:
    type: "OnDelete"

OnDelete strategy does not automatically update Pods when a modification is made. You need to restart Pods yourself.