Update Strategy

You can configure HumioCluster resources with an update strategy. The updateStrategy.type controls how the operator restarts LogScale pods in response to an image change to the HumioCluster spec or nodePools spec. The available values for type are: OnDelete, RollingUpdate, ReplaceAllOnUpdate, and RollingUpdateBestEffort.

  • ReplaceAllOnUpdate

    All LogScale pods will be replaced at the same time during an update. Pods will still be replaced one at a time when there are other configuration changes such as updates to pod environment variables. This is the default behavior.

  • OnDelete

    No LogScale pods will be terminated but new pods will be created with the new spec. You must delete each existing pod to replace it.

  • RollingUpdate

    Pods will always be replaced one pod at a time. There may be some LogScale updates where rolling updates are not supported, so it is not recommended to have this set all the time.

  • RollingUpdateBestEffort

    The operator will evaluate the LogScale version change and determine if the LogScale pods can be updated in a rolling fashion or if they must be replaced at the same time.

yaml
spec:
  updateStrategy:
    type: ReplaceAllOnUpdate