- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for EndpointSubset (0.17 sec)
-
pkg/controller/endpointslicemirroring/config/types.go
MirroringConcurrentServiceEndpointSyncs int32 // mirroringMaxEndpointsPerSubset is the maximum number of endpoints that // will be mirrored to an EndpointSlice for an EndpointSubset. MirroringMaxEndpointsPerSubset int32 // mirroringEndpointUpdatesBatchPeriod can be used to batch EndpointSlice // updates. All updates triggered by EndpointSlice changes will be delayed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 06 19:43:33 UTC 2020 - 1.7K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller.go
// addEndpointSubset add the endpoints addresses and ports to the EndpointSubset. // The addresses are added to the corresponding field, ready or not ready, depending // on the pod status and the Service PublishNotReadyAddresses field value. // The pod passed to this function must have already been filtered through ShouldPodBeInEndpoints. func addEndpointSubset(logger klog.Logger, subsets []v1.EndpointSubset, pod *v1.Pod, epa v1.EndpointAddress,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 26.3K bytes - Viewed (0) -
pkg/api/endpoints/testing/make.go
// present and valid here. eps := &api.Endpoints{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: metav1.NamespaceDefault, }, Subsets: []api.EndpointSubset{{ Addresses: addrs, Ports: ports, }}, } for _, tweak := range tweaks { tweak(eps) } return eps }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 01:26:45 UTC 2021 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/jsonpath_test.go
"pod": &v1.Pod{ObjectMeta: om("pod")}, "emptyPodList": &v1.PodList{}, "nonEmptyPodList": &v1.PodList{Items: []v1.Pod{{}}}, "endpoints": &v1.Endpoints{ Subsets: []v1.EndpointSubset{{ Addresses: []v1.EndpointAddress{{IP: "127.0.0.1"}, {IP: "localhost"}}, Ports: []v1.EndpointPort{{Port: 8080}}, }}}, } // Set of strings representing objects that should produce an error.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 15 21:58:20 UTC 2020 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go
objects := []runtime.Object{ &v1.Pod{ObjectMeta: om("pod")}, &v1.PodList{}, &v1.PodList{Items: []v1.Pod{{}}}, &v1.Endpoints{ Subsets: []v1.EndpointSubset{{ Addresses: []v1.EndpointAddress{{IP: "127.0.0.1"}, {IP: "localhost"}}, Ports: []v1.EndpointPort{{Port: 8080}}, }}}, } for _, obj := range objects { b := &bytes.Buffer{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 22 23:10:00 UTC 2019 - 7.1K bytes - Viewed (0) -
pkg/controlplane/reconcilers/instancecount.go
// EndpointSlices. This may change in the future. skipMirrorChanged := setSkipMirrorTrue(e) if errors.IsNotFound(err) { // Simply create non-existing endpoints for the service. e.Subsets = []corev1.EndpointSubset{{ Addresses: []corev1.EndpointAddress{{IP: ip.String()}}, Ports: endpointPorts, }} _, err = r.epAdapter.Create(metav1.NamespaceDefault, e) return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/json_test.go
"pod": &v1.Pod{ObjectMeta: om("pod")}, "emptyPodList": &v1.PodList{}, "nonEmptyPodList": &v1.PodList{Items: []v1.Pod{{}}}, "endpoints": &v1.Endpoints{ Subsets: []v1.EndpointSubset{{ Addresses: []v1.EndpointAddress{{IP: "127.0.0.1"}, {IP: "localhost"}}, Ports: []v1.EndpointPort{{Port: 8080}}, }}}, } // Test PrintObj() success. for pName, p := range genericPrinters {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4K bytes - Viewed (0) -
pkg/controlplane/reconcilers/endpointsadapter_test.go
ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace}, AddressType: discovery.AddressTypeIPv4, } epSlice.Labels = map[string]string{discovery.LabelServiceName: name} subset := corev1.EndpointSubset{} for i, port := range ports { endpointPort := corev1.EndpointPort{ Name: fmt.Sprintf("port-%d", i), Port: int32(port), Protocol: corev1.ProtocolTCP, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/controlplane/reconcilers/helpers_test.go
Name: name, Labels: map[string]string{ discoveryv1.LabelSkipMirror: "true", }, }, } if len(ips) > 0 || len(ports) > 0 { endpoints.Subsets = []corev1.EndpointSubset{{ Addresses: make([]corev1.EndpointAddress, len(ips)), Ports: ports, }} for i := range ips { endpoints.Subsets[0].Addresses[i].IP = ips[i] } } return endpoints }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 27 12:46:23 UTC 2022 - 4K bytes - Viewed (0) -
pkg/controlplane/reconcilers/lease.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 11.3K bytes - Viewed (0)