Running tgtd in Kubernetes POD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to run tgtd (iscsi driver) in a Kubernetes Pod. The service
come up fine and presents the block device but Portals are showing
container local IP.

Im not able to find any way to let it present host IP via portals.

Host IP is 10.12.6.19
Container IP is 10.32.0.12

iSCSI service is exposed via NodePort mechanism. It uses Host port 30275.

Container # ./usr/tgtadm --lld iscsi --mode portal --op show
Portal: [::]:3260,1
Portal: 0.0.0.0:3260,1

Client # iscsiadm -m discovery -t st -p 10.12.6.19:30275
10.32.0.12:3260,1 iqn.2017-07.com.hiroom2:debian-9

Client is another host on network and can reach Host IP but of course
not the container IP.

Is there any way to let tgtd show additional portal IP:PORT without IP
being attached in the container?

Thanks.



[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux