How to spawn statefulsets pod when new node added to cluster( like daemonsets)? Using helm for deployment

5/21/2020

Statefulsets running in K8s cluster as below:

Node 1: app-0 Node 2: app-1 Node 3: app-2

When new node added to cluster, how to ensure new pod (app-4) will be spawned in the new node ?

Deploying using helm(not using operator)

-- Rajen Patel
kubernetes
kubernetes-helm

1 Answer

5/21/2020

I would suggest using a combination of Node Affinity & Horizontal Pod Autoscaler for this use-case.

-- hdhruna
Source: StackOverflow