@ -80,6 +80,7 @@ func makeEndpointSliceV1() *v1.EndpointSlice {
DeprecatedTopology : map [ string ] string {
"topology" : "value" ,
} ,
Zone : strptr ( "us-east-1a" ) ,
} , {
Addresses : [ ] string { "2.3.4.5" } ,
Conditions : v1 . EndpointConditions {
@ -87,6 +88,7 @@ func makeEndpointSliceV1() *v1.EndpointSlice {
Serving : boolptr ( true ) ,
Terminating : boolptr ( false ) ,
} ,
Zone : strptr ( "us-east-1b" ) ,
} , {
Addresses : [ ] string { "3.4.5.6" } ,
Conditions : v1 . EndpointConditions {
@ -94,6 +96,7 @@ func makeEndpointSliceV1() *v1.EndpointSlice {
Serving : boolptr ( true ) ,
Terminating : boolptr ( true ) ,
} ,
Zone : strptr ( "us-east-1c" ) ,
} , {
Addresses : [ ] string { "4.5.6.7" } ,
Conditions : v1 . EndpointConditions {
@ -105,6 +108,7 @@ func makeEndpointSliceV1() *v1.EndpointSlice {
Kind : "Node" ,
Name : "barbaz" ,
} ,
Zone : strptr ( "us-east-1a" ) ,
} ,
} ,
}
@ -185,8 +189,10 @@ func TestEndpointSliceDiscoveryBeforeRun(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -197,6 +203,7 @@ func TestEndpointSliceDiscoveryBeforeRun(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -207,6 +214,7 @@ func TestEndpointSliceDiscoveryBeforeRun(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -219,6 +227,7 @@ func TestEndpointSliceDiscoveryBeforeRun(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -452,8 +461,10 @@ func TestEndpointSliceDiscoveryDelete(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -464,6 +475,7 @@ func TestEndpointSliceDiscoveryDelete(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -474,6 +486,7 @@ func TestEndpointSliceDiscoveryDelete(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -486,6 +499,7 @@ func TestEndpointSliceDiscoveryDelete(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -552,8 +566,10 @@ func TestEndpointSliceDiscoveryUpdate(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -564,6 +580,7 @@ func TestEndpointSliceDiscoveryUpdate(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -574,6 +591,7 @@ func TestEndpointSliceDiscoveryUpdate(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -586,6 +604,7 @@ func TestEndpointSliceDiscoveryUpdate(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -641,8 +660,10 @@ func TestEndpointSliceDiscoveryEmptyEndpoints(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -653,6 +674,7 @@ func TestEndpointSliceDiscoveryEmptyEndpoints(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -663,6 +685,7 @@ func TestEndpointSliceDiscoveryEmptyEndpoints(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -675,6 +698,7 @@ func TestEndpointSliceDiscoveryEmptyEndpoints(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -725,8 +749,10 @@ func TestEndpointSliceDiscoveryWithService(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -737,6 +763,7 @@ func TestEndpointSliceDiscoveryWithService(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -747,6 +774,7 @@ func TestEndpointSliceDiscoveryWithService(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -759,6 +787,7 @@ func TestEndpointSliceDiscoveryWithService(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -825,8 +854,10 @@ func TestEndpointSliceDiscoveryWithServiceUpdate(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -837,6 +868,7 @@ func TestEndpointSliceDiscoveryWithServiceUpdate(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
"__meta_kubernetes_endpointslice_port_protocol" : "TCP" ,
@ -847,6 +879,7 @@ func TestEndpointSliceDiscoveryWithServiceUpdate(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
"__meta_kubernetes_endpointslice_port_protocol" : "TCP" ,
@ -859,6 +892,7 @@ func TestEndpointSliceDiscoveryWithServiceUpdate(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -915,8 +949,10 @@ func TestEndpointsSlicesDiscoveryWithNodeMetadata(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -930,6 +966,7 @@ func TestEndpointsSlicesDiscoveryWithNodeMetadata(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -940,6 +977,7 @@ func TestEndpointsSlicesDiscoveryWithNodeMetadata(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -952,6 +990,7 @@ func TestEndpointsSlicesDiscoveryWithNodeMetadata(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -1015,8 +1054,10 @@ func TestEndpointsSlicesDiscoveryWithUpdatedNodeMetadata(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -1030,6 +1071,7 @@ func TestEndpointsSlicesDiscoveryWithUpdatedNodeMetadata(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -1040,6 +1082,7 @@ func TestEndpointsSlicesDiscoveryWithUpdatedNodeMetadata(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -1052,6 +1095,7 @@ func TestEndpointsSlicesDiscoveryWithUpdatedNodeMetadata(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -1161,8 +1205,10 @@ func TestEndpointSliceDiscoveryNamespaces(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -1173,6 +1219,7 @@ func TestEndpointSliceDiscoveryNamespaces(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
"__meta_kubernetes_endpointslice_port_protocol" : "TCP" ,
@ -1183,6 +1230,7 @@ func TestEndpointSliceDiscoveryNamespaces(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
"__meta_kubernetes_endpointslice_port_protocol" : "TCP" ,
@ -1195,6 +1243,7 @@ func TestEndpointSliceDiscoveryNamespaces(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -1309,8 +1358,10 @@ func TestEndpointSliceDiscoveryOwnNamespace(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_hostname" : "testendpoint1" ,
"__meta_kubernetes_endpointslice_endpoint_node_name" : "foobar" ,
"__meta_kubernetes_endpointslice_endpoint_topology_present_topology" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_topology_topology" : "value" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
@ -1321,6 +1372,7 @@ func TestEndpointSliceDiscoveryOwnNamespace(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1b" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
"__meta_kubernetes_endpointslice_port_protocol" : "TCP" ,
@ -1331,6 +1383,7 @@ func TestEndpointSliceDiscoveryOwnNamespace(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1c" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,
"__meta_kubernetes_endpointslice_port_protocol" : "TCP" ,
@ -1343,6 +1396,7 @@ func TestEndpointSliceDiscoveryOwnNamespace(t *testing.T) {
"__meta_kubernetes_endpointslice_endpoint_conditions_ready" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_serving" : "true" ,
"__meta_kubernetes_endpointslice_endpoint_conditions_terminating" : "false" ,
"__meta_kubernetes_endpointslice_endpoint_zone" : "us-east-1a" ,
"__meta_kubernetes_endpointslice_port" : "9000" ,
"__meta_kubernetes_endpointslice_port_app_protocol" : "http" ,
"__meta_kubernetes_endpointslice_port_name" : "testport" ,