
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.
ReplaceAllOnUpdateAll 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.
OnDeleteNo LogScale pods will be terminated but new pods will be created with the new spec. You must delete each existing pod to replace it.
RollingUpdatePods 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.
RollingUpdateBestEffortThe 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.
spec:
updateStrategy:
type: ReplaceAllOnUpdate