plugin/kubernetes: Add support for dual stack ClusterIP Services (#4339)
* support dual stack clusterIPs Signed-off-by: Chris O'Haver <cohaver@infoblox.com> * stickler Signed-off-by: Chris O'Haver <cohaver@infoblox.com> * fix ClusterIPs make Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
parent
302434e392
commit
51c05679e6
14 changed files with 204 additions and 111 deletions
|
@ -105,7 +105,7 @@ var svcIndexExternal = map[string][]*object.Service{
|
|||
Name: "svc1",
|
||||
Namespace: "testns",
|
||||
Type: api.ServiceTypeClusterIP,
|
||||
ClusterIP: "10.0.0.1",
|
||||
ClusterIPs: []string{"10.0.0.1"},
|
||||
ExternalIPs: []string{"1.2.3.4"},
|
||||
Ports: []api.ServicePort{{Name: "http", Protocol: "tcp", Port: 80}},
|
||||
},
|
||||
|
@ -115,7 +115,7 @@ var svcIndexExternal = map[string][]*object.Service{
|
|||
Name: "svc6",
|
||||
Namespace: "testns",
|
||||
Type: api.ServiceTypeClusterIP,
|
||||
ClusterIP: "10.0.0.3",
|
||||
ClusterIPs: []string{"10.0.0.3"},
|
||||
ExternalIPs: []string{"1:2::5"},
|
||||
Ports: []api.ServicePort{{Name: "http", Protocol: "tcp", Port: 80}},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue