Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for targetpod2 (0.28 sec)

  1. pilot/pkg/networking/core/listener_inbound.go

    				},
    				TargetPort: i.Port.Number, // No targetPort support in the API
    			}
    			bindtoPort := getBindToPort(i.CaptureMode, lb.node)
    			// Skip ports we cannot bind to
    			if !lb.node.CanBindToPort(bindtoPort, port.TargetPort) {
    				log.Warnf("buildInboundListeners: skipping privileged sidecar port %d for node %s as it is an unprivileged proxy",
    					port.TargetPort, lb.node.ID)
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    						Ports: []*workloadapi.Port{
    							{
    								ServicePort: 80,
    								TargetPort:  8080,
    							},
    							{
    								ServicePort: 81,
    								TargetPort:  0,
    							},
    							{
    								ServicePort: 82,
    								TargetPort:  0,
    							},
    							{
    								ServicePort: 83,
    								TargetPort:  0,
    							},
    						},
    					},
    					PortNames: map[int32]model.ServicePortName{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    					if ok {
    						// if we match one, override it. Otherwise, use the service port
    						targetPort = tv
    					} else if targetPort == 0 {
    						targetPort = port.ServicePort
    					}
    				}
    			}
    			pl.Ports = append(pl.Ports, &workloadapi.Port{
    				ServicePort: port.ServicePort,
    				TargetPort:  targetPort,
    			})
    		}
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/conversion.go

    			// if not port name not match, use the targetPort specified in ServiceEntry
    			// if both not matched, fallback to ServiceEntry port number.
    			var targetPort uint32
    			if port, ok := workloadInstance.PortMap[serviceEntryPort.Name]; ok && port > 0 {
    				targetPort = port
    			} else if serviceEntryPort.TargetPort > 0 {
    				targetPort = serviceEntryPort.TargetPort
    			} else {
    				targetPort = serviceEntryPort.Number
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    			tp := 0
    			if p == nil {
    				continue
    			}
    			if p.TargetPort != nil && p.TargetPort.Type == int64(intstr.String) {
    				// Do not validate named ports
    				continue
    			}
    			if p.TargetPort != nil && p.TargetPort.Type == int64(intstr.Int) {
    				tp = int(p.TargetPort.IntVal.GetValue())
    			}
    			if tp == 0 && p.Port > 1024 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller.go

    	// by default, use the numbered targetPort
    	istioEndpoint.EndpointPort = uint32(targetPort.num)
    
    	if targetPort.name != "" {
    		// This is a named port, find the corresponding port in the port map
    		matchedPort := wi.PortMap[targetPort.name]
    		if matchedPort != 0 {
    			istioEndpoint.EndpointPort = matchedPort
    		} else if targetPort.explicitName {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/addons/dns/dns_test.go

      resourceVersion: "0"
    spec:
      clusterIP: 10.0.0.10
      ports:
      - name: dns
        port: 53
        protocol: UDP
        targetPort: 53
      - name: dns-tcp
        port: 53
        protocol: TCP
        targetPort: 53
      - name: metrics
        port: 9153
        protocol: TCP
        targetPort: 9153
      selector:
        k8s-app: kube-dns
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRole
    metadata:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/EdgeState.java

                return resolvedVariant;
            }
            List<NodeState> targetNodes = findTargetNodes();
            assert !targetNodes.isEmpty();
            for (NodeState targetNode : targetNodes) {
                if (targetNode.isSelected()) {
                    resolvedVariant = targetNode;
                    return resolvedVariant;
                }
            }
            return null;
        }
    
        private List<NodeState> findTargetNodes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/noderesources/fit.go

    func (f *Fit) isResourceScaleDown(targetPod, originalPod, modifiedPod *v1.Pod) bool {
    	if modifiedPod.UID != targetPod.UID && modifiedPod.Spec.NodeName == "" {
    		// If the update event is not for targetPod and a scheduled Pod,
    		// it wouldn't make targetPod schedulable.
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. pkg/config/analysis/msg/messages.yaml

        description: "Two services selecting the same workload with the same targetPort MUST refer to the same port."
        template: "This deployment %s is associated with multiple services %v using targetPort %q but different ports: %v."
        args:
          - name: deployment
            type: string
          - name: services
            type: "[]string"
          - name: targetPort
            type: string
          - name: ports
            type: "[]int32"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top