move pod manually to another kuberntes

2/22/2021

is there a way to force a sts pod on kubernetes to move to another node on kubernetes cluster?

by default kubernetes put all on the same node since I have local pv but I want the replica will be distributed.

before I added pv local storage as below the nodes were distributed equally around kubernetes nodes. after I add pv I can see them only on one node, is there a way to spread them across nodes?

this is my pvc :

  name: local-volume
spec:
  storageClassName: local-st
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi

~

-- NoamiA
kubernetes
kubernetes-statefulset
persistence

0 Answers