Scaling a HumioCluster
Up or Down
Scaling up a HumioCluster
To scale up a HumioCluster
, increase the
nodeCount
value of the
HumioCluster
node pool, and the
humio-operator will create the additional pods.
Scaling down a HumioCluster
At the time of writing, scaling down a HumioCluster is more involved as
there's no built in support for carrying this out. Lowering
nodeCount
value by itself will not immediately
start evicting/removing pods.
Overall there's a few different strategies depending on the type/role of node/pod we want to remove.
Lower
nodeCount
. For simplicity's sake, keep all other configs/versions unchanged during scale down. We assume only one node pool is being scaled down at a time, so repeat this entire process for each node pool that needs to be scaled down.Go to LogScale cluster administration UI, under
Cluster nodes
and click the button for the action on the nodes we want to remove.Remember to include zone information in the considerations around picking which nodes to mark for eviction.
Wait until node is done with eviction.
If we want to remove a pod that does not store segments: This is nodes that are neither a storage node, nor digest node. This is typically nodes that primarily serve API calls, UI components, query coordination, ingest and such.
Manually use kubectl delete pod to delete the pods for the nodes we marked for eviction.
After the pods are gone, we have a couple of choices depending on the LogScale version:
LogScale 1.82+:
Either: Wait a couple of hours and LogScale will automatically remove dead nodes from the cluster.
OR: Go to the LogScale cluster administration UI, under
Cluster nodes
and click the button for the Remove node action.
LogScale <1.82:
Go to the LogScale cluster administration UI, under
Cluster nodes
and click the button for the Remove node action.
If we want to remove a pod that stores segments: This would be nodes doing storage or digest.
Manually use kubectl delete pod to delete the pods for the nodes we marked for eviction.
When the pod is gone, and cluster sees the node as down: Go to the LogScale cluster administration UI, under
Cluster nodes
and click the button for the Remove node action.