Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for svcname (0.13 sec)

  1. pilot/pkg/xds/proxy_dependencies_test.go

    	"istio.io/istio/pkg/spiffe"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestProxyNeedsPush(t *testing.T) {
    	const (
    		svcName        = "svc1.com"
    		privateSvcName = "private.com"
    		drName         = "dr1"
    		vsName         = "vs1"
    		scName         = "sc1"
    		nsName         = "ns1"
    		nsRoot         = "rootns"
    		generalName    = "name1"
    
    		invalidNameSuffix = "invalid"
    	)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/proxier.go

    func (proxier *Proxier) cleanupAllPolicies() {
    	for svcName, svc := range proxier.svcPortMap {
    		svcInfo, ok := svc.(*serviceInfo)
    		if !ok {
    			klog.ErrorS(nil, "Failed to cast serviceInfo", "serviceName", svcName)
    			continue
    		}
    		svcInfo.cleanupAllPolicies(proxier.endpointsMap[svcName], proxier.mapStaleLoadbalancers, false)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  3. pkg/proxy/util/utils.go

    	errMsg := fmt.Sprintf("%s in %s has incorrect IP version", fieldValue, fieldName)
    	klog.ErrorS(nil, "Incorrect IP version", "service", klog.KRef(svcNamespace, svcName), "field", fieldName, "value", fieldValue)
    	if recorder != nil {
    		recorder.Eventf(
    			&v1.ObjectReference{
    				Kind:      "Service",
    				Name:      svcName,
    				Namespace: svcNamespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. pkg/proxy/iptables/proxier.go

    	svcPort := &servicePortInfo{BaseServicePortInfo: bsvcPortInfo}
    
    	// Store the following for performance reasons.
    	svcName := types.NamespacedName{Namespace: service.Namespace, Name: service.Name}
    	svcPortName := proxy.ServicePortName{NamespacedName: svcName, Port: port.Name}
    	protocol := strings.ToLower(string(svcPort.Protocol()))
    	svcPort.nameString = svcPortName.String()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  5. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    	// ensures that we handle changes to this label.
    	svcName := endpointSlice.Labels[discovery.LabelServiceName]
    	prevSvcName := prevEndpointSlice.Labels[discovery.LabelServiceName]
    	if svcName != prevSvcName {
    		logger.Info("LabelServiceName changed", "labelServiceName", discovery.LabelServiceName, "oldName", prevSvcName, "newName", svcName, "endpointSlice", klog.KObj(endpointSlice))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier.go

    	totalEndpoints := 0
    	for svcName := range proxier.svcPortMap {
    		totalEndpoints += len(proxier.endpointsMap[svcName])
    	}
    
    	// These two variables are used to publish the sync_proxy_rules_no_endpoints_total
    	// metric.
    	serviceNoLocalEndpointsTotalInternal := 0
    	serviceNoLocalEndpointsTotalExternal := 0
    
    	// Build rules for each service-port.
    	for svcName, svc := range proxier.svcPortMap {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  7. pkg/controller/endpointslice/endpointslice_controller.go

    	// ensures that we handle changes to this label.
    	svcName := endpointSlice.Labels[discovery.LabelServiceName]
    	prevSvcName := prevEndpointSlice.Labels[discovery.LabelServiceName]
    	if svcName != prevSvcName {
    		logger.Info("label changed", "label", discovery.LabelServiceName, "oldService", prevSvcName, "newService", svcName, "endpointslice", klog.KObj(endpointSlice))
    		c.queueServiceForEndpointSlice(endpointSlice)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. tests/integration/pilot/common/routing.go

            {{. | indent 8}}
    `, svcName, svcName)
    
    			cookieWithTTLDest := fmt.Sprintf(`
    ---
    apiVersion: networking.istio.io/v1beta1
    kind: DestinationRule
    metadata:
      name: %s
    spec:
      host: %s
      trafficPolicy:
        loadBalancer:
          consistentHash:
            httpCookie:
              name: session-cookie
              ttl: 3600s
    `, svcName, svcName)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  9. pilot/pkg/model/sidecar_test.go

    }
    
    func TestContainsEgressDependencies(t *testing.T) {
    	const (
    		svcName = "svc1.com"
    		nsName  = "ns"
    		drName  = "dr1"
    		vsName  = "vs1"
    	)
    
    	allContains := func(ns string, contains bool) map[ConfigKey]bool {
    		return map[ConfigKey]bool{
    			{kind.ServiceEntry, svcName, ns}:   contains,
    			{kind.VirtualService, vsName, ns}:  contains,
    			{kind.DestinationRule, drName, ns}: contains,
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/proxier_test.go

    			}
    			for svcName := range tc.expectedNewlyActiveUDPServices {
    				found := false
    				for _, stale := range result.NewlyActiveUDPServices {
    					if stale == svcName {
    						found = true
    						break
    					}
    				}
    				if !found {
    					t.Errorf("[%d] expected staleServiceNames[%v], but didn't find it: %v", tci, svcName, result.NewlyActiveUDPServices)
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
Back to top