Hi All , i have 1 master and 2 worker node k8s clu...
# longhorn-storage
a
Hi All , i have 1 master and 2 worker node k8s cluster .. I see that
kubectl get <http://volumes.longhorn.io|volumes.longhorn.io> -n longhorn-system
, some volumes are on
worker1
and some others on
worker2
.. But when i check physically on
worker1
and
worker2
inside
/mnt/platform-data/longhorn/replicas
, i see that pvc's are present on only
worker2
... is this expected ? can someone explain a bit more on this ?
@late-needle-80860 could you please help me with this query ?
l
Depends on • how many replicas your volumes is set to use
• if worker1 is ready, schedule-able and so on from longhorns point of view
a
@late-needle-80860, i have set replica as 1 .. all volume replicas are created only on worker2 eventhough pods are spread across both the workers.. Is this expected ? Data locality is enabled mode ..
l
With one replica yes then this is expected. There’ll only be one replica is that’s what you elected to