- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for labelServiceName (0.16 sec)
-
pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 23:18:31 UTC 2024 - 20.1K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/utils_test.go
name: "create slice from endpoints", tweakEndpoint: func(ep *v1.Endpoints) { }, expectedSlice: discovery.EndpointSlice{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ discovery.LabelServiceName: endpoints.Name, discovery.LabelManagedBy: controllerName, }, Annotations: map[string]string{}, GenerateName: fmt.Sprintf("%s-", endpoints.Name), Namespace: endpoints.Namespace,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 23 15:40:23 UTC 2022 - 7.5K bytes - Viewed (0) -
staging/src/k8s.io/api/discovery/v1beta1/well_known_labels.go
See the License for the specific language governing permissions and limitations under the License. */ package v1beta1 const ( // LabelServiceName is used to indicate the name of a Kubernetes service. LabelServiceName = "kubernetes.io/service-name" // LabelManagedBy is used to indicate the controller or entity that manages // an EndpointSlice. This label aims to enable different EndpointSlice
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 06 19:43:32 UTC 2020 - 1.3K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go
}}, }, endpointSlices: []*discovery.EndpointSlice{{ ObjectMeta: metav1.ObjectMeta{ Name: endpointsName + "-1", Labels: map[string]string{ discovery.LabelServiceName: endpointsName, discovery.LabelManagedBy: controllerName, }, }, }}, expectedNumActions: 1, expectedNumSlices: 0, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 12:57:29 UTC 2023 - 13.9K bytes - Viewed (0) -
staging/src/k8s.io/api/discovery/v1/well_known_labels.go
See the License for the specific language governing permissions and limitations under the License. */ package v1 const ( // LabelServiceName is used to indicate the name of a Kubernetes service. LabelServiceName = "kubernetes.io/service-name" // LabelManagedBy is used to indicate the controller or entity that manages // an EndpointSlice. This label aims to enable different EndpointSlice
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 05 20:02:41 UTC 2021 - 1.3K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/utils.go
if endpointSlice == nil { return "", fmt.Errorf("nil EndpointSlice passed to serviceControllerKey()") } serviceName, ok := endpointSlice.Labels[discovery.LabelServiceName] if !ok || serviceName == "" { return "", fmt.Errorf("EndpointSlice missing %s label", discovery.LabelServiceName) } return fmt.Sprintf("%s/%s", endpointSlice.Namespace, serviceName), nil } // skipMirror return true if the LabelSkipMirror label has been set to
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 8.8K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 23.6K bytes - Viewed (0) -
pkg/proxy/iptables/number_generated_rules_test.go
t.Fatalf("expected Service Type %s, got %s", test.svcType, svcs[i].Spec.Type) } if eps[i].ObjectMeta.Labels[discovery.LabelServiceName] != svcs[i].Name { t.Fatalf("endpoint slice reference %s instead of Service %s", eps[i].ObjectMeta.Labels[discovery.LabelServiceName], svcs[i].Name) } if len(eps[i].Endpoints) != test.epPerService {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 13.1K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
Labels: map[string]string{ discovery.LabelServiceName: serviceName, discovery.LabelManagedBy: controllerName, }, }, AddressType: discovery.AddressTypeIPv4, }, { ObjectMeta: metav1.ObjectMeta{ Name: "matching-2", Namespace: ns, OwnerReferences: []metav1.OwnerReference{*ownerRef}, Labels: map[string]string{ discovery.LabelServiceName: serviceName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/proxy/endpointslicecache.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 11.7K bytes - Viewed (1)