- Elastic Docs/
- Deploy and manage/
- Deploy/
- Elastic Cloud on Kubernetes/
- Orchestrate other Elastic applications/
- Logstash
Pod update strategy for Logstash on ECK
The operator takes a Pod down to restart and applies a new configuration value. All Pods are restarted in reverse ordinal order.
WhenupdateStrategy is not present in the specification, it defaults to the following:
spec: updateStrategy: type: "RollingUpdate" rollingUpdate: partition: 0 maxUnavailable: 1- The
RollingUpdatestrategy will update Pods one by one in reverse ordinal order. - This means that all the Pods from ordinal Replicas-1 to
partitionare updated . You can split the update into partitions to performcanary rollout. - This ensures that the cluster has no more than one unavailable Pod at any given point in time.
spec: updateStrategy: type: "OnDelete"OnDelete strategy does not automatically update Pods when a modification is made. You need to restart Pods yourself.