- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 79 for ServiceSpec (2.14 sec)
-
pkg/api/service/util_test.go
checkExternallyAccessible(false, &api.Service{ Spec: api.ServiceSpec{ Type: api.ServiceTypeClusterIP, }, }) checkExternallyAccessible(true, &api.Service{ Spec: api.ServiceSpec{ Type: api.ServiceTypeClusterIP, ExternalIPs: []string{"1.2.3.4"}, }, }) checkExternallyAccessible(true, &api.Service{ Spec: api.ServiceSpec{ Type: api.ServiceTypeLoadBalancer, }, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/api/v1/service/util_test.go
checkExternallyAccessible(false, &v1.Service{ Spec: v1.ServiceSpec{ Type: v1.ServiceTypeClusterIP, }, }) checkExternallyAccessible(true, &v1.Service{ Spec: v1.ServiceSpec{ Type: v1.ServiceTypeClusterIP, ExternalIPs: []string{"1.2.3.4"}, }, }) checkExternallyAccessible(true, &v1.Service{ Spec: v1.ServiceSpec{ Type: v1.ServiceTypeLoadBalancer, }, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 8.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/proxy_test.go
endpointMode expectation }{ { name: "cluster ip without 443 port", services: []*v1.Service{ { ObjectMeta: metav1.ObjectMeta{Namespace: "one", Name: "alfa"}, Spec: v1.ServiceSpec{ Type: v1.ServiceTypeClusterIP, ClusterIP: "hit", Ports: []v1.ServicePort{ {Port: 1234, TargetPort: intstr.FromInt32(1234)}, }, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:27 UTC 2023 - 8.6K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/controller/repair_test.go
} expectMetrics(t, em) } func TestCollectServiceNodePorts(t *testing.T) { tests := []struct { name string serviceSpec corev1.ServiceSpec expected []int }{ { name: "no duplicated nodePorts", serviceSpec: corev1.ServiceSpec{ Ports: []corev1.ServicePort{ {NodePort: 111, Protocol: corev1.ProtocolTCP}, {NodePort: 112, Protocol: corev1.ProtocolUDP},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/proxy/util/utils_test.go
service: &v1.Service{ ObjectMeta: metav1.ObjectMeta{Namespace: "foo", Name: "bar"}, Spec: v1.ServiceSpec{ ClusterIP: v1.ClusterIPNone, }, }, shouldSkip: true, }, { // Cluster IP is empty service: &v1.Service{ ObjectMeta: metav1.ObjectMeta{Namespace: "foo", Name: "bar"}, Spec: v1.ServiceSpec{ ClusterIP: "", }, }, shouldSkip: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 17.1K bytes - Viewed (0) -
pkg/controlplane/controller/kubernetesservice/controller_test.go
{Name: "foo", Port: 8080, Protocol: "TCP", TargetPort: intstr.FromInt32(8080)}, }, serviceType: corev1.ServiceTypeClusterIP, expectCreate: &corev1.Service{ ObjectMeta: om("foo"), Spec: corev1.ServiceSpec{ Ports: []corev1.ServicePort{ {Name: "foo", Port: 8080, Protocol: "TCP", TargetPort: intstr.FromInt32(8080)}, }, Selector: nil, ClusterIP: "1.2.3.4",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 13 10:41:06 UTC 2023 - 15.3K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repair_test.go
ObjectMeta: metav1.ObjectMeta{Namespace: "one", Name: "one"}, Spec: corev1.ServiceSpec{ ClusterIP: "192.168.1.1", ClusterIPs: []string{"192.168.1.1"}, IPFamilies: []corev1.IPFamily{corev1.IPv4Protocol}, }, }, &corev1.Service{ ObjectMeta: metav1.ObjectMeta{Namespace: "two", Name: "two"}, Spec: corev1.ServiceSpec{ ClusterIP: "192.168.1.100", ClusterIPs: []string{"192.168.1.100"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/registry/core/service/strategy_test.go
Namespace: "testns", }, Spec: api.ServiceSpec{ClusterIP: api.ClusterIPNone}, }, fieldSelector: fields.ParseSelectorOrDie("metadata.name=test"), expectMatch: true, }, { name: "match on namespace", in: &api.Service{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "testns", }, Spec: api.ServiceSpec{ClusterIP: api.ClusterIPNone}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 32.4K bytes - Viewed (0) -
pkg/apis/core/helper/helpers_test.go
} func TestIsServiceIPSet(t *testing.T) { testCases := []struct { input core.ServiceSpec output bool name string }{ { name: "nil cluster ip", input: core.ServiceSpec{ ClusterIPs: nil, }, output: false, }, { name: "headless service", input: core.ServiceSpec{ ClusterIP: "None", ClusterIPs: []string{"None"}, }, output: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 9.2K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
Spec: v1.ServiceSpec{ Ports: []v1.ServicePort{{Port: 80}}, Type: v1.ServiceTypeExternalName, }, }, }, { desc: "External name with selector should not receive endpoints", service: &v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace}, Spec: v1.ServiceSpec{ Selector: map[string]string{"foo": "bar"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0)