- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ServiceExternalTrafficPolicy (0.4 sec)
-
pkg/apis/core/fuzzer/fuzzer.go
types := []core.IPFamily{core.IPv4Protocol, core.IPv6Protocol} selected := types[c.Rand.Intn(len(types))] *p = selected }, func(p *core.ServiceExternalTrafficPolicy, c fuzz.Continue) { types := []core.ServiceExternalTrafficPolicy{core.ServiceExternalTrafficPolicyCluster, core.ServiceExternalTrafficPolicyLocal} *p = types[c.Rand.Intn(len(types))] },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K bytes - Viewed (0) -
pkg/api/service/testing/make.go
return func(svc *api.Service) { svc.Spec.InternalTrafficPolicy = &policy } } // SetExternalTrafficPolicy sets the externalTrafficPolicy field for a Service. func SetExternalTrafficPolicy(policy api.ServiceExternalTrafficPolicy) Tweak { return func(svc *api.Service) { svc.Spec.ExternalTrafficPolicy = policy } } // SetAllocateLoadBalancerNodePorts sets the allocate LB node port field.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 7.1K bytes - Viewed (0) -
pkg/registry/core/service/strategy.go
if serviceapi.ExternallyAccessible(oldSvc) && !serviceapi.ExternallyAccessible(newSvc) && sameExternalTrafficPolicy(oldSvc, newSvc) { newSvc.Spec.ExternalTrafficPolicy = api.ServiceExternalTrafficPolicy("") } // NOTE: there are other fields like `selector` which we could wipe. // Historically we did not wipe them and they are not allocated from
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:36 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/apis/core/types.go
) // ServiceExternalTrafficPolicy describes the endpoint-selection policy for // traffic to external service entrypoints (NodePorts, ExternalIPs, and // LoadBalancer IPs). type ServiceExternalTrafficPolicy string const ( // ServiceExternalTrafficPolicyCluster routes traffic to all endpoints. ServiceExternalTrafficPolicyCluster ServiceExternalTrafficPolicy = "Cluster"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 268.9K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/types.go
// +enum type ServiceInternalTrafficPolicyType = ServiceInternalTrafficPolicy // ServiceExternalTrafficPolicy describes how nodes distribute service traffic they // receive on one of the Service's "externally-facing" addresses (NodePorts, ExternalIPs, // and LoadBalancer IPs. // +enum type ServiceExternalTrafficPolicy string const ( // ServiceExternalTrafficPolicyCluster routes traffic to all endpoints.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 390.8K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
name string internalTrafficPolicy *v1.ServiceInternalTrafficPolicy externalTrafficPolicy v1.ServiceExternalTrafficPolicy endpoints []endpoint expectedSyncProxyRulesNoLocalEndpointsTotalInternal int expectedSyncProxyRulesNoLocalEndpointsTotalExternal int }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
name string internalTrafficPolicy *v1.ServiceInternalTrafficPolicy externalTrafficPolicy v1.ServiceExternalTrafficPolicy endpoints []endpoint expectedSyncProxyRulesNoLocalEndpointsTotalInternal int expectedSyncProxyRulesNoLocalEndpointsTotalExternal int }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
pkg/apis/core/v1/zz_generated.conversion.go
out.LoadBalancerIP = in.LoadBalancerIP out.LoadBalancerSourceRanges = *(*[]string)(unsafe.Pointer(&in.LoadBalancerSourceRanges)) out.ExternalName = in.ExternalName out.ExternalTrafficPolicy = core.ServiceExternalTrafficPolicy(in.ExternalTrafficPolicy) out.HealthCheckNodePort = in.HealthCheckNodePort out.PublishNotReadyAddresses = in.PublishNotReadyAddresses
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
pkg/proxy/iptables/proxier_test.go
name string internalTrafficPolicy *v1.ServiceInternalTrafficPolicy externalTrafficPolicy v1.ServiceExternalTrafficPolicy endpoints []endpoint expectedSyncProxyRulesNoLocalEndpointsTotalInternal int expectedSyncProxyRulesNoLocalEndpointsTotalExternal int }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 249.9K bytes - Viewed (1) -
staging/src/k8s.io/api/core/v1/generated.pb.go
if postIndex < 0 { return ErrInvalidLengthGenerated } if postIndex > l { return io.ErrUnexpectedEOF } m.ExternalTrafficPolicy = ServiceExternalTrafficPolicy(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 12: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field HealthCheckNodePort", wireType) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 1.8M bytes - Viewed (0)