Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 924 for SVC (0.11 sec)

  1. pilot/pkg/serviceregistry/serviceregistry_test.go

    func makeService(t *testing.T, c kubernetes.Interface, svc *v1.Service) {
    	t.Helper()
    	// avoid mutating input
    	svc = svc.DeepCopy()
    	// simulate actual k8s behavior
    	for i, port := range svc.Spec.Ports {
    		if port.TargetPort.IntVal == 0 && port.TargetPort.StrVal == "" {
    			svc.Spec.Ports[i].TargetPort.IntVal = port.Port
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. pkg/registry/core/service/ipallocator/controller/repair.go

    	for _, svc := range list.Items {
    		if !helper.IsServiceIPSet(&svc) {
    			// didn't need a cluster IP
    			continue
    		}
    
    		for _, ip := range svc.Spec.ClusterIPs {
    			ip := netutils.ParseIPSloppy(ip)
    			if ip == nil {
    				// cluster IP is corrupt
    				clusterIPRepairIPErrors.WithLabelValues("invalid").Inc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/proxier_test.go

    		svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port1", "TCP", 1234, 0, 0)
    	})
    	service3 := makeTestService("ns1", "svc1", func(svc *v1.Service) {
    		svc.Spec.Type = v1.ServiceTypeClusterIP
    		svc.Spec.ClusterIP = "172.16.55.4"
    		svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port1", "TCP", 1234, 0, 0)
    		svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port2", "TCP", 1235, 0, 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  4. pilot/pkg/xds/testdata/none_eds.json

                }
              ],
              "load_balancing_weight": {
                "value": 2
              }
            }
          ]
        },
        "outbound|2008||tcpmeshstatic.seexamples.svc": {
          "cluster_name": "outbound|2008||tcpmeshstatic.seexamples.svc",
          "endpoints": [
            {
              "lb_endpoints": [
                {
                  "endpoint": {
                    "address": {
                      "Address": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 26 15:28:15 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  5. pkg/registry/core/service/storage/storage.go

    		}
    	}
    }
    
    func needsClusterIP(svc *api.Service) bool {
    	if svc.Spec.Type == api.ServiceTypeExternalName {
    		return false
    	}
    	return true
    }
    
    func needsNodePort(svc *api.Service) bool {
    	if svc.Spec.Type == api.ServiceTypeNodePort {
    		return true
    	}
    	if svc.Spec.Type == api.ServiceTypeLoadBalancer &&
    		(svc.Spec.AllocateLoadBalancerNodePorts == nil || *svc.Spec.AllocateLoadBalancerNodePorts) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/ingress/testdata/simple.yaml.golden

            host: service1.ns.svc.mydomain
            port:
              number: 4209
          weight: 100
      - match:
        - uri:
            exact: /sub/path
        route:
        - destination:
            host: service1.ns.svc.mydomain
            port:
              number: 4201
          weight: 100
      - match:
        - uri:
            exact: /sub/path
        route:
        - destination:
            host: service1.ns.svc.mydomain
            port:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 14 16:13:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder_test.go

    			destRule: &networking.DestinationRule{
    				Host: "foo.default.svc.cluster.local",
    				TrafficPolicy: &networking.TrafficPolicy{
    					Tls: &networking.ClientTLSSettings{
    						Mode:            networking.ClientTLSSettings_SIMPLE,
    						CaCertificates:  constants.RootCertFilename,
    						Sni:             "foo.default.svc.cluster.local",
    						SubjectAltNames: []string{"foo.default.svc.cluster.local"},
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  8. pkg/proxy/conntrack/cleanup_test.go

    		NamespacedName: types.NamespacedName{
    			Namespace: svc.Namespace,
    			Name:      svc.Name,
    		},
    		Port:     svc.Spec.Ports[0].Name,
    		Protocol: svc.Spec.Ports[0].Protocol,
    	}
    
    	udpPortName := proxy.ServicePortName{
    		NamespacedName: types.NamespacedName{
    			Namespace: svc.Namespace,
    			Name:      svc.Name,
    		},
    		Port:     svc.Spec.Ports[1].Name,
    		Protocol: svc.Spec.Ports[1].Protocol,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. pilot/pkg/xds/delta_test.go

    		}
    	}
    
    	sendEDSReqAndVerify([]string{"outbound|80||local.default.svc.cluster.local"}, nil, []string{"outbound|80||local.default.svc.cluster.local"})
    	// Only send the one that is requested
    	sendEDSReqAndVerify([]string{"outbound|81||local.default.svc.cluster.local"}, nil, []string{"outbound|81||local.default.svc.cluster.local"})
    	ads.Request(&discovery.DeltaDiscoveryRequest{
    		ResponseNonce:            nonce,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/tls.yaml.golden

    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      annotations:
        internal.istio.io/gateway-semantics: gateway
        internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
        internal.istio.io/parents: Gateway/gateway/passthrough.istio-system
      creationTimestamp: null
      name: gateway-istio-autogenerated-k8s-gateway-passthrough
      namespace: istio-system
    spec:
      servers:
      - hosts:
        - '*/*'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 20:54:36 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top