fix-node-scheduler
Installation
I already upload docker image to docker.io. You can check here.
kubectl apply -f grokctl-fix-node-scheduler-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=fix-node-scheduler
because we have our scheduler now. Its name is fix-node-scheduler. I already set in example statefulset resource.
kubectl apply -f example-statefulset.yaml
When you apply example statefulset application you will see web-0 and web-1 scheduled to your chosen nodes.