Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for SVC (0.03 sec)

  1. pilot/pkg/model/sidecar_test.go

    			},
    		},
    		{
    			Hostname: "baz.svc.cluster.local",
    			Ports:    port7443,
    			Attributes: ServiceAttributes{
    				Name:      "baz",
    				Namespace: "ns3",
    			},
    		},
    		{
    			Hostname: "bar.svc.cluster.local",
    			Ports:    port7442,
    			Attributes: ServiceAttributes{
    				Name:      "bar",
    				Namespace: "ns2",
    			},
    		},
    		{
    			Hostname: "barprime.svc.cluster.local",
    			Ports:    port7442,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/sidecar_simulation_test.go

    				Dest:      "alt-known.default.svc.cluster.local",
    			}},
    			proxy:     proxy("not-default"),
    			routeName: "8080",
    			expected: map[string][]string{
    				"known.default.svc.cluster.local": {"outbound|8080||alt-known.default.svc.cluster.local"},
    			},
    			expectedGateway: map[string][]string{
    				"known.default.svc.cluster.local": {"outbound|8080||known.default.svc.cluster.local"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			}
    		}
    		return false
    	})
    
    	svc := sds.GetService(hostname)
    	if svc == nil {
    		t.Fatalf("GetService(%q) => should exists", hostname)
    	}
    	if svc.Hostname != hostname {
    		t.Fatalf("GetService(%q) => %q", hostname, svc.Hostname)
    	}
    
    	missing := kube.ServiceHostname("does-not-exist", ns, defaultFakeDomainSuffix)
    	svc = sds.GetService(missing)
    	if svc != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		for _, svc := range gotServices {
    			if v, ok := gotIPMap[svc.AutoAllocatedIPv4Address]; ok && v != svc.Hostname.String() {
    				t.Errorf("multiple allocations of same IP address to different services with different hostname: %s", svc.AutoAllocatedIPv4Address)
    			}
    			gotIPMap[svc.AutoAllocatedIPv4Address] = svc.Hostname.String()
    			serviceIPMap[svc.Hostname.String()] = svc.AutoAllocatedIPv4Address
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route.go

    		for _, service := range wrapper.Services {
    			delete(serviceRegistry, service.Hostname)
    		}
    	}
    
    	for _, svc := range serviceRegistry {
    		for _, port := range svc.Ports {
    			if port.Protocol.IsHTTPOrSniffed() {
    				hash, destinationRule := hashForService(push, node, svc, port)
    				if hash != nil {
    					dependentDestinationRules = append(dependentDestinationRules, destinationRule)
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  7. pilot/pkg/model/push_context_test.go

    			},
    		},
    	}
    
    	for _, svc := range services {
    		if index.shardsBySvc[string(svc.Hostname)] == nil {
    			index.shardsBySvc[string(svc.Hostname)] = map[string]*EndpointShards{}
    		}
    		index.shardsBySvc[string(svc.Hostname)][svc.Attributes.Namespace] = &EndpointShards{
    			ServiceAccounts: sets.New("spiffe://cluster.local/ns/def/sa/sa1", "spiffe://cluster.local/ns/def/sa/sa2"),
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  8. tests/integration/ambient/baseline_test.go

    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			svcs := apps.All
    			for _, svc := range svcs {
    				if svc.Config().IsUncaptured() || svc.Config().HasSidecar() {
    					continue
    				}
    				t.NewSubTestf("ALLOW_ANY %v to external service", svc.Config().Service).Run(func(t framework.TestContext) {
    					svc.CallOrFail(t, echo.CallOptions{
    						Address: apps.MockExternal.ClusterLocalFQDN(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    	}
    	userAdmClient.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    
    	// Create svc acc
    	cr := c.mustCreateSvcAccount(ctx, value.AccessKeyID, userAdmClient)
    
    	// 1. Check that svc account appears in listing
    	c.assertSvcAccAppearsInListing(ctx, userAdmClient, value.AccessKeyID, cr.AccessKey)
    
    	// 2. Check that svc account info can be queried
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route_test.go

    							Host: "example2.default.svc.cluster.local",
    							Port: &networking.PortSelector{
    								Number: 8484,
    							},
    						},
    					},
    				},
    			},
    			{
    				Name: "route 3",
    				Route: []*networking.HTTPRouteDestination{
    					{
    						Destination: &networking.Destination{
    							Host: "example1.default.svc.cluster.local",
    							Port: &networking.PortSelector{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top