You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now i deploy etcd in the kubernetes cluster which support the ipv4 and ipv6. And i set the etcd execute command like --init-cluster=etcd-0.etcd.xxNamespace.svc.cluster.local. But the default resolve result is ipv4, i check the source code filepath is pkg/netutil/netutil.go ,and find the resolve domain fuction resolveTCPAddrDefault it return the first result.
and this will cause it's return result will the ipv4 address default. Obviously this is not what I want.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Now i deploy etcd in the kubernetes cluster which support the ipv4 and ipv6. And i set the etcd execute command like
--init-cluster=etcd-0.etcd.xxNamespace.svc.cluster.local
. But the default resolve result is ipv4, i check the source code filepath ispkg/netutil/netutil.go
,and find the resolve domain fuctionresolveTCPAddrDefault
it return the first result.and this will cause it's return result will the ipv4 address default. Obviously this is not what I want.
How can i access the ipv6 address?
Beta Was this translation helpful? Give feedback.
All reactions