Network_mode: host in rancher 2.x

is there any option for “network_mode: host” in rancher 2.x?

hostNetwork: true (there is not an equivalent to all the other kinds of network_mode in kubernetes)

thanks. can you add the rancher document link for this hostNetwork?

Rancher 2 is kubernetes. This is a standard kubernetes feature.

so it cant be done from the rancher UI? from the rancher documents i get the feelings that it is better to just work with kubectl. is that correct?