Closed starnop closed 5 years ago
I think this should be made optional through a flag in values.yaml
I think this should be made optional through a flag in
values.yaml
For dragonfly
, we only allow proxies for local requests. So I think we just need the mode of host network
. WDYT?
I think there's no harm in making it optional (small change) and it could be useful for situations where policies prevent the use of host network.
This is indeed feasible although I don't think it is necessary,. Then I will re-submit a new PR to do this, and close this PR firstly. 😄
Signed-off-by: Starnop starnop@163.com
We deploy
dfclient
as daemonset which means that every node in the cluster will run a poddfclient
, so the container runtime likepouchcontainer
on each node set the local IP as its image proxy. In this case, the container does not need to be accessed through a service or ingress. So update the network mode tohostNetwork
.Thanks for the advice form @shenlanse ,refer to link