Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for ClusterID (0.75 sec)

  1. security/pkg/server/ca/node_auth.go

    func (m *MulticlusterNodeAuthorizor) authenticateImpersonation(ctx context.Context, caller security.KubernetesInfo, requestedIdentityString string) error {
    	clusterID := kubeauth.ExtractClusterID(ctx)
    	na := m.component.ForCluster(clusterID)
    	if na == nil {
    		return fmt.Errorf("no node authorizer for cluster %v", clusterID)
    	}
    	return (*na).authenticateImpersonation(caller, requestedIdentityString)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/mock/discovery.go

    )
    
    // PortHTTPName is the HTTP port name
    var PortHTTPName = "http"
    
    type ServiceArgs struct {
    	Hostname        host.Name
    	Address         string
    	ServiceAccounts []string
    	ClusterID       cluster.ID
    }
    
    func MakeServiceInstance(service *model.Service, port *model.Port, version int, locality model.Locality) *model.ServiceInstance {
    	if service.External() {
    		return nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/helpers.go

    	return a.ClusterID.String() + "//" + "Pod/" + p.Namespace + "/" + p.Name
    }
    
    // name format: <cluster>/<group>/<kind>/<namespace>/<name></section-name>
    // if the WorkloadEntry is inlined in the ServiceEntry, we may need section name. caller should use generateServiceEntryUID
    func (a *index) generateWorkloadEntryUID(wkEntryNamespace, wkEntryName string) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 22 20:35:23 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/api.go

    	WorkloadType          string            `json:"workloadType"`
    	CanonicalName         string            `json:"canonicalName"`
    	CanonicalRevision     string            `json:"canonicalRevision"`
    	ClusterID             string            `json:"clusterId"`
    	TrustDomain           string            `json:"trustDomain,omitempty"`
    	Locality              Locality          `json:"locality,omitempty"`
    	Node                  string            `json:"node"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go

    		node = pod.Spec.NodeName
    	}
    	dm, _ := kubeUtil.GetDeployMetaFromPod(pod)
    	out := &EndpointBuilder{
    		controller:     c,
    		serviceAccount: sa,
    		locality: model.Locality{
    			Label:     locality,
    			ClusterID: c.Cluster(),
    		},
    		tlsMode:      kube.PodTLSMode(pod),
    		workloadName: dm.Name,
    		namespace:    namespace,
    		hostname:     hostname,
    		subDomain:    subdomain,
    		labels:       podLabels,
    		nodeName:     node,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go

    	return ep.IsDiscoverableFromProxy(&model.Proxy{
    		Metadata: &model.NodeMetadata{
    			ClusterID: ec.Cluster(),
    		},
    	})
    }
    
    func (ec *serviceExportCacheImpl) isDiscoverableFromDifferentCluster(ep *model.IstioEndpoint) bool {
    	return ep.IsDiscoverableFromProxy(&model.Proxy{
    		Metadata: &model.NodeMetadata{
    			ClusterID: "some-other-cluster",
    		},
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. security/pkg/nodeagent/caclient/providers/citadel/client.go

    			if err := c.reconnect(); err != nil {
    				citadelClientLog.Errorf("failed reconnect: %v", err)
    			}
    		}
    	}()
    
    	ctx := metadata.NewOutgoingContext(context.Background(), metadata.Pairs("ClusterID", c.opts.ClusterID))
    	resp, err := c.client.CreateCertificate(ctx, req)
    	if err != nil {
    		return nil, fmt.Errorf("create certificate: %v", err)
    	}
    
    	if len(resp.CertChain) <= 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. pilot/pkg/model/controller.go

    	Controller
    	// AppendServiceHandlerForCluster is similar to Controller.AppendServiceHandler,
    	// but it is used to store the handler from a specific cluster.
    	AppendServiceHandlerForCluster(clusterID cluster.ID, f ServiceHandler)
    	UnRegisterHandlersForCluster(clusterID cluster.ID)
    }
    
    // ControllerHandlers is a utility to help Controller implementations manage their lists of handlers.
    type ControllerHandlers struct {
    	mutex            sync.RWMutex
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 25 06:54:32 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. pilot/pkg/xds/statusgen.go

    				xdsConfigs = append(xdsConfigs, pxc)
    			}
    			clientConfig := &status.ClientConfig{
    				Node: &core.Node{
    					Id: con.proxy.ID,
    					Metadata: model.NodeMetadata{
    						ClusterID:    con.proxy.Metadata.ClusterID,
    						Namespace:    con.proxy.Metadata.Namespace,
    						IstioVersion: con.proxy.Metadata.IstioVersion,
    					}.ToStruct(),
    				},
    				GenericXdsConfigs: xdsConfigs,
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 23:30:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pilot/pkg/xds/endpoints/ep_filters.go

    				lbEp = proto.Clone(lbEp).(*endpoint.LbEndpoint)
    				lbEp.LoadBalancingWeight = &wrappers.UInt32Value{
    					Value: weight,
    				}
    			}
    
    			epNetwork := istioEndpoint.Network
    			epCluster := istioEndpoint.Locality.ClusterID
    			gateways := b.selectNetworkGateways(epNetwork, epCluster)
    
    			// Check if the endpoint is directly reachable. It's considered directly reachable if
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top