Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DNSServiceEntryOnly (0.16 sec)

  1. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	we := ConvertWorkloadEntry(cfg)
    	addr := we.GetAddress()
    	dnsServiceEntryOnly := false
    	if strings.HasPrefix(addr, model.UnixAddressPrefix) {
    		// k8s can't use uds for service objects
    		dnsServiceEntryOnly = true
    	}
    	if addr != "" && !netutil.IsValidIPAddress(addr) {
    		// k8s can't use workloads with hostnames in the address field.
    		dnsServiceEntryOnly = true
    	}
    	tlsMode := getTLSModeFromWorkloadEntry(we)
    	sa := ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/controller.go

    	if features.WorkloadEntryHealthChecks && !isHealthy(curr) {
    		event = model.EventDelete
    	}
    
    	wi := s.convertWorkloadEntryToWorkloadInstance(curr, s.Cluster())
    	if wi != nil && !wi.DNSServiceEntryOnly {
    		// fire off the k8s handlers
    		s.NotifyWorkloadInstanceHandlers(wi, event)
    	}
    
    	// includes instances new updated or unchanged, in other word it is the current state.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    					TLSMode:        "istio",
    					Namespace:      "ns1",
    					Locality: model.Locality{
    						ClusterID: cluster.ID(clusterID),
    					},
    				},
    				DNSServiceEntryOnly: true,
    			},
    		},
    		{
    			name: "DNS address",
    			wle: config.Config{
    				Meta: config.Meta{
    					Namespace: "ns1",
    				},
    				Spec: &networking.WorkloadEntry{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  4. pilot/pkg/model/service.go

    	Endpoint *IstioEndpoint    `json:"endpoint,omitempty"`
    	PortMap  map[string]uint32 `json:"portMap,omitempty"`
    	// Can only be selected by service entry of DNS type.
    	DNSServiceEntryOnly bool `json:"dnsServiceEntryOnly,omitempty"`
    }
    
    func (instance *WorkloadInstance) CmpOpts() []cmp.Option {
    	return istioEndpointCmpOpts
    }
    
    // DeepCopy creates a copy of WorkloadInstance.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top