statefulset-scheduler (aka sfs-scheduler)
I already upload docker image to docker.io. You can check here.
kubectl apply -f resources.yaml
You need to labels your nodes which you want statically attach you pod. It is always scheduel this node.
kubectl label node your_nodename web-0=true #web-o is web statefulset application. You can see example in repository. kubectl label node your_other_nodename web-1=true
Install statefulset application
You need to set schedulerName=
sfs-scheduler because we have our scheduler now. Its name is sfs-scheduler. I already set in example statefulset resource.
kubectl apply -f example-statefulset.yaml