- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 164 for targetpod2 (0.14 sec)
-
pkg/api/v1/pod/util.go
) // FindPort locates the container port for the given pod and portName. If the // targetPort is a number, use that. If the targetPort is a string, look that // string up in all named ports in all containers in the target pod. If no // match is found, fail. func FindPort(pod *v1.Pod, svcPort *v1.ServicePort) (int, error) { portName := svcPort.TargetPort switch portName.Type { case intstr.String: name := portName.StrVal
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 17:18:04 UTC 2023 - 13.2K bytes - Viewed (0) -
pkg/apis/core/v1/defaults.go
} for i := range obj.Spec.Ports { sp := &obj.Spec.Ports[i] if sp.Protocol == "" { sp.Protocol = v1.ProtocolTCP } if sp.TargetPort == intstr.FromInt32(0) || sp.TargetPort == intstr.FromString("") { sp.TargetPort = intstr.FromInt32(sp.Port) } } // Defaults ExternalTrafficPolicy field for externally-accessible service // to Global for consistency.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:24:15 UTC 2024 - 14.8K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
"excludeInterfaces": {excludeInterfacesKey, defaultExcludeInterfaces, alwaysValidFunc}, } ) // Redirect -- the istio-cni redirect object type Redirect struct { targetPort string redirectMode string noRedirectUID string noRedirectGID string includeIPCidrs string excludeIPCidrs string excludeInboundPorts string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
} changed := false for _, p := range se.Spec.Ports { if p.TargetPort != 0 && p.Number != p.TargetPort { changed = true } } if changed { res := ObjectToInstance(se) messages.Add(msg.NewUpdateIncompatibility(res, "ENABLE_RESOLUTION_NONE_TARGET_PORT", "1.21", "ServiceEntry with resolution NONE and a targetPort set previously did nothing but now is respected", "1.21")) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 02:57:30 UTC 2024 - 19.3K bytes - Viewed (0) -
pilot/pkg/networking/telemetry/telemetry_test.go
"istio.io/istio/pilot/pkg/serviceregistry/provider" ) func TestBuildStatPrefix(t *testing.T) { tests := []struct { name string statPattern string host string subsetName string targetPort int port *model.Port attributes *model.ServiceAttributes want string }{ { "Service only pattern", "%SERVICE%", "reviews.default.svc.cluster.local", "", 0,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 02:38:43 UTC 2023 - 12.1K bytes - Viewed (0) -
pilot/pkg/model/gateway.go
// case, the translation is un-ambiguous - we just find the matching port and return the targetPort // When legacyGatewaySelector=true things are a bit more complex, as we support referencing a Service // port and translating to the targetPort in addition to just directly referencing a port. In this // case, we just make a best effort guess by picking the first match.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 26K bytes - Viewed (0) -
pkg/dns/server/name_table_test.go
func makeInstances(proxy *model.Proxy, svc *model.Service, servicePort int, targetPort int) []*model.IstioEndpoint { ret := make([]*model.IstioEndpoint, 0) for _, p := range svc.Ports { if p.Port != servicePort { continue } ret = append(ret, &model.IstioEndpoint{ Address: proxy.IPAddresses[0], ServicePortName: p.Name, EndpointPort: uint32(targetPort), }) } return ret
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 04:26:03 UTC 2024 - 16K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
func (sched *Scheduler) bind(ctx context.Context, fwk framework.Framework, assumed *v1.Pod, targetNode string, state *framework.CycleState) (status *framework.Status) { logger := klog.FromContext(ctx) defer func() { sched.finishBinding(logger, fwk, assumed, targetNode, status) }() bound, err := sched.extendersBinding(logger, assumed, targetNode) if bound { return framework.AsStatus(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/lds.go
serviceInstancesByPort := map[uint32]model.ServiceTarget{} for _, si := range node.ServiceTargets { serviceInstancesByPort[si.Port.TargetPort] = si } for _, name := range names { listenAddress := strings.TrimPrefix(name, grpcxds.ServerListenerNamePrefix) listenHost, listenPortStr, err := net.SplitHostPort(listenAddress) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 14.6K bytes - Viewed (0) -
manifests/charts/gateways/istio-egress/values.yaml
gateways: istio-egressgateway: name: istio-egressgateway ports: - port: 80 targetPort: 8080 name: http2 protocol: TCP - port: 443 name: https targetPort: 8443 protocol: TCP labels: app: istio-egressgateway istio: egressgateway # Scalability tuning
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 12.4K bytes - Viewed (0)