@@ -135,9 +135,9 @@ func TestEndpointStore(t *testing.T) {
135
135
kube_endpoint_created{endpoint="single-port-endpoint",namespace="default"} 1.5e+09
136
136
kube_endpoint_info{endpoint="single-port-endpoint",namespace="default"} 1
137
137
kube_endpoint_ports{endpoint="single-port-endpoint",namespace="default",port_name="",port_number="8080",port_protocol="TCP"} 1
138
- kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.1",namespace="default",port_number="8080",port_protocol="TCP",ready="true"} 1
139
- kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.10",namespace="default",port_number="8080",port_protocol="TCP",ready="false"} 1
140
- kube_endpoint_address{endpoint="single-port-endpoint",ip="127.0.0.1",namespace="default",port_number="8080",port_protocol="TCP",ready="true"} 1
138
+ kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.1",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="true"} 1
139
+ kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.10",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="false"} 1
140
+ kube_endpoint_address{endpoint="single-port-endpoint",ip="127.0.0.1",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="true"} 1
141
141
` ,
142
142
},
143
143
}
@@ -269,9 +269,9 @@ func TestEndpointStoreWithLabels(t *testing.T) {
269
269
kube_endpoint_info{endpoint="single-port-endpoint",namespace="default"} 1
270
270
kube_endpoint_labels{endpoint="single-port-endpoint",label_app="single-foobar",namespace="default"} 1
271
271
kube_endpoint_ports{endpoint="single-port-endpoint",namespace="default",port_name="",port_number="8080",port_protocol="TCP"} 1
272
- kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.1",namespace="default",port_number="8080",port_protocol="TCP",ready="true"} 1
273
- kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.10",namespace="default",port_number="8080",port_protocol="TCP",ready="false"} 1
274
- kube_endpoint_address{endpoint="single-port-endpoint",ip="127.0.0.1",namespace="default",port_number="8080",port_protocol="TCP",ready="true"} 1
272
+ kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.1",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="true"} 1
273
+ kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.10",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="false"} 1
274
+ kube_endpoint_address{endpoint="single-port-endpoint",ip="127.0.0.1",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="true"} 1
275
275
` ,
276
276
},
277
277
}
0 commit comments