mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Add NodeName to EndpointAddress object
This commit is contained in:
@@ -404,7 +404,8 @@ func (e *EndpointController) syncService(key string) {
|
||||
|
||||
epp := api.EndpointPort{Name: portName, Port: int32(portNum), Protocol: portProto}
|
||||
epa := api.EndpointAddress{
|
||||
IP: pod.Status.PodIP,
|
||||
IP: pod.Status.PodIP,
|
||||
NodeName: pod.Spec.NodeName,
|
||||
TargetRef: &api.ObjectReference{
|
||||
Kind: "Pod",
|
||||
Namespace: pod.ObjectMeta.Namespace,
|
||||
|
||||
Reference in New Issue
Block a user